Commit ca2f67d8 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 284080 : cannot list quips, regression from bug 277504

Patch by Frederic Buclin <LpSolit@gmail.com> r=wurblzap,peshkin a=justdave
parent bc77698d
...@@ -63,7 +63,7 @@ if ($action eq "show") { ...@@ -63,7 +63,7 @@ if ($action eq "show") {
my $users; my $users;
foreach my $quipid (@quipids) { foreach my $quipid (@quipids) {
my $userid = $quips->{$quipid}{'userid'}; 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"); SendSQL("SELECT login_name FROM profiles WHERE userid = $userid");
$users->{$userid} = FetchOneColumn(); $users->{$userid} = FetchOneColumn();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment