aboutsummaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/query.cgi b/query.cgi
index 114cb7f9f..1e2510ab7 100755
--- a/query.cgi
+++ b/query.cgi
@@ -391,7 +391,7 @@ $default{'charts'} = \@charts;
if ($userid) {
$vars->{'namedqueries'} = $dbh->selectcol_arrayref(
"SELECT name FROM namedqueries " .
- "WHERE userid = ? AND name != ?" .
+ "WHERE userid = ? AND name != ? " .
"ORDER BY name",
undef, ($userid, DEFAULT_QUERY_NAME));
}