summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-01 01:36:42 +0100
committertravis%sedsystems.ca <>2005-03-01 01:36:42 +0100
commitca2f67d88996b8a2b49264e94659f7acf3e1bc68 (patch)
treeb7b4b839a606a9ff40a53c44f4f9bf0dd5247b14
parentbc77698dd44c82b6c017c4de977169e2185be9b2 (diff)
downloadbugzilla-ca2f67d88996b8a2b49264e94659f7acf3e1bc68.tar.gz
bugzilla-ca2f67d88996b8a2b49264e94659f7acf3e1bc68.tar.xz
Bug 284080 : cannot list quips, regression from bug 277504
Patch by Frederic Buclin <LpSolit@gmail.com> r=wurblzap,peshkin a=justdave
-rwxr-xr-xquips.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/quips.cgi b/quips.cgi
index 9834665f9..0e0c13d08 100755
--- a/quips.cgi
+++ b/quips.cgi
@@ -63,7 +63,7 @@ if ($action eq "show") {
my $users;
foreach my $quipid (@quipids) {
my $userid = $quips->{$quipid}{'userid'};
- if (not defined $users->{$userid}) {
+ if ($userid && not defined $users->{$userid}) {
SendSQL("SELECT login_name FROM profiles WHERE userid = $userid");
$users->{$userid} = FetchOneColumn();
}