diff options
author | Simon Green <sgreen@redhat.com> | 2014-01-22 05:33:24 +0100 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2014-01-22 05:33:24 +0100 |
commit | e9a97622fb5e08898b3b1e6cb88d1f649115a21f (patch) | |
tree | caef01ec691ba310451b10c9b63fa9eb8f758e41 /index.cgi | |
parent | 38c3cfbf27bf62e63e955cbab80783ea11b40b06 (diff) | |
download | bugzilla-e9a97622fb5e08898b3b1e6cb88d1f649115a21f.tar.gz bugzilla-e9a97622fb5e08898b3b1e6cb88d1f649115a21f.tar.xz |
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); |