Commit 003f85e0 authored by timeless%mozdev.org's avatar timeless%mozdev.org

Bug 197689 Missing Query - The query named $name seems to no longer exist.

r=bbaetz a=justdave
parent e8c87576
......@@ -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;
}
......
......@@ -362,7 +362,7 @@
[% ELSIF error == "missing_query" %]
[% title = "Missing Query" %]
The query named <em>[% queryname FILTER html %]</em> seems to no longer
The query named <em>[% queryname FILTER html %]</em> does not
exist.
[% ELSIF error == "need_component" %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment