]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 274419 - stop offering to forget a search which doesn't exist. Patch by gerv...
authorgerv%gerv.net <>
Sat, 1 Jan 2005 20:25:37 +0000 (20:25 +0000)
committergerv%gerv.net <>
Sat, 1 Jan 2005 20:25:37 +0000 (20:25 +0000)
template/en/default/global/user-error.html.tmpl

index ebd44906e0603ed8387976f4fabb5dbd720d7755..24000983afdb1ec897212ce8015a274954f38798 100644 (file)
   
 [% USE Bugzilla %]
 [% namedcmd = Bugzilla.cgi.param("namedcmd") %]
-[% IF namedcmd %]
+[% IF namedcmd AND error != "missing_query" %]
   <p>  
     Alternatively, you can    
     <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
       [% END %]
     [% END %]
     
-    this saved search: '[% namedcmd FILTER html %]'.
+    the saved search '[% namedcmd FILTER html %]'.
   </p>
 [% END %]