summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorgerv%gerv.net <>2005-01-01 21:25:37 +0100
committergerv%gerv.net <>2005-01-01 21:25:37 +0100
commit1e622db02806e0ba14e8ee86ca59091d05a8f349 (patch)
tree6293150cfbd984fb0cb4b454e79f34b915256b7d /template/en/default
parentea89c6a5f55b9f7571820112f0c58344ef3c8ca9 (diff)
downloadbugzilla-1e622db02806e0ba14e8ee86ca59091d05a8f349.tar.gz
bugzilla-1e622db02806e0ba14e8ee86ca59091d05a8f349.tar.xz
Bug 274419 - stop offering to forget a search which doesn't exist. Patch by gerv; r=justdave, vladd; a=justdave.
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/user-error.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index ebd44906e..24000983a 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -988,7 +988,7 @@
[% 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=
@@ -1000,7 +1000,7 @@
[% END %]
[% END %]
- this saved search: '[% namedcmd FILTER html %]'.
+ the saved search '[% namedcmd FILTER html %]'.
</p>
[% END %]