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 -%>
|
||||||
};
|
};
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @forward != '' -%>
|
<%- if @forward and @forward != '' -%>
|
||||||
forward <%= @forward %>;
|
forward <%= @forward %>;
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
|
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
|
||||||
|
|||||||
Reference in New Issue
Block a user