From: timeless%mozdev.org <> Date: Sun, 30 Mar 2003 11:27:08 +0000 (+0000) Subject: Bug 197689 Missing Query - The query named $name seems to no longer exist. X-Git-Tag: bugzilla-2.17.4~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=003f85e07ba3143619eb883a09bf559f7430fd05;p=thirdparty%2Fbugzilla.git Bug 197689 Missing Query - The query named $name seems to no longer exist. r=bbaetz a=justdave --- diff --git a/buglist.cgi b/buglist.cgi index ff12dba354..4acd5d55ec 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -168,7 +168,7 @@ sub LookupNamedQuery { my $qname = SqlQuote($name); SendSQL("SELECT query FROM namedqueries WHERE userid = $userid AND name = $qname"); my $result = FetchOneColumn(); - $result || ThrowUserError("missing_query", {'queryname' => '$name'}); + $result || ThrowUserError("missing_query", {'queryname' => $name}); return $result; } diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 11899fe70e..a89d029eb8 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -362,7 +362,7 @@ [% ELSIF error == "missing_query" %] [% title = "Missing Query" %] - The query named [% queryname FILTER html %] seems to no longer + The query named [% queryname FILTER html %] does not exist. [% ELSIF error == "need_component" %]