Fixed handling of undef @forward
Changed @forward check syntax to use "<%- if @variable and @variable != '' -%>" to address undef.
This commit is contained in:
@@ -21,7 +21,7 @@ options {
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- if @forward != '' -%>
|
||||
<%- if @forward and @forward != '' -%>
|
||||
forward <%= @forward %>;
|
||||
<%- end -%>
|
||||
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
|
||||
|
||||
Reference in New Issue
Block a user