]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 351462: Errors are always displayed in plain text
authormkanat%bugzilla.org <>
Thu, 7 Sep 2006 06:44:43 +0000 (06:44 +0000)
committermkanat%bugzilla.org <>
Thu, 7 Sep 2006 06:44:43 +0000 (06:44 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk

template/en/default/global/code-error.html.tmpl
template/en/default/global/user-error.html.tmpl

index e62ef7abc631808dff6d930c5a2587b2ca8fcaff..9c504b827626328ae62a645e5b51ead57565b006 100644 (file)
 
 [%# 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 %]
index 7885abd384f6a0114fdbb590c8a79574fd2b66c7..9a0d045556191f25df63047c159865b59bc6b646 100644 (file)
 
 [%# 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 %]