From ca2f67d88996b8a2b49264e94659f7acf3e1bc68 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Tue, 1 Mar 2005 00:36:42 +0000 Subject: Bug 284080 : cannot list quips, regression from bug 277504 Patch by Frederic Buclin r=wurblzap,peshkin a=justdave --- quips.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quips.cgi') 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(); } -- cgit v1.2.3-24-g4f1b