Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
[% USE Bugzilla %]
-[% IF Bugzilla.error_mode != ERROR_MODE_WEBPAGE %]
+[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
[% error_message FILTER none %]
[% RETURN %]
[% END %]
[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
[% USE Bugzilla %]
-[% IF Bugzilla.error_mode != ERROR_MODE_WEBPAGE %]
+[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
[% error_message FILTER none %]
[% RETURN %]
[% END %]