diff options
author | Simon Green <sgreen@redhat.com> | 2014-01-22 14:33:24 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2014-01-22 14:33:24 +1000 |
commit | e9a97622fb5e08898b3b1e6cb88d1f649115a21f (patch) | |
tree | caef01ec691ba310451b10c9b63fa9eb8f758e41 /index.cgi | |
parent | 38c3cfbf27bf62e63e955cbab80783ea11b40b06 (diff) | |
download | bugs-e9a97622fb5e08898b3b1e6cb88d1f649115a21f.tar bugs-e9a97622fb5e08898b3b1e6cb88d1f649115a21f.tar.gz bugs-e9a97622fb5e08898b3b1e6cb88d1f649115a21f.tar.bz2 bugs-e9a97622fb5e08898b3b1e6cb88d1f649115a21f.tar.xz bugs-e9a97622fb5e08898b3b1e6cb88d1f649115a21f.zip |
Bug 962416 - index.cgi crashes when using a Postgres database
r=justdave, a=justdave
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -48,11 +48,11 @@ if ($user->in_group('admin')) { if ($user->id) { my $dbh = Bugzilla->dbh; $vars->{assignee_count} = - $dbh->selectrow_array('SELECT COUNT(*) FROM bugs WHERE assigned_to = ? - AND resolution = ""', undef, $user->id); + $dbh->selectrow_array("SELECT COUNT(*) FROM bugs WHERE assigned_to = ? + AND resolution = ''", undef, $user->id); $vars->{reporter_count} = - $dbh->selectrow_array('SELECT COUNT(*) FROM bugs WHERE reporter = ? - AND resolution = ""', undef, $user->id); + $dbh->selectrow_array("SELECT COUNT(*) FROM bugs WHERE reporter = ? + AND resolution = ''", undef, $user->id); $vars->{requestee_count} = $dbh->selectrow_array('SELECT COUNT(DISTINCT bug_id) FROM flags WHERE requestee_id = ?', undef, $user->id); |