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