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

r=bbaetz a=justdave
This commit is contained in:
timeless%mozdev.org 2003-03-30 03:27:11 +00:00
Родитель 2506ca8699
Коммит 1c07adb28c
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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" %]