Morten Brix Pedersen 25 lat temu
rodzic
commit
56f35c21e2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pisg.pl

+ 1 - 1
pisg.pl

@@ -1165,7 +1165,7 @@ sub activenicks
 
     html("<table border=\"0\" width=\"614\"><tr>");
     html("<td>&nbsp;</td><td bgcolor=\"$conf->{tdtop}\"><b>" . template_text('nick') . "</b></td><td bgcolor=\"$conf->{tdtop}\"><b>" . template_text('numberlines') ."</b></td><td bgcolor=\"$conf->{tdtop}\"><b>". template_text('randquote') ."</b></td>");
-    if ($users->{userpics}) {
+    if (scalar keys %{$users->{userpics}} > 0) {
         html("<td bgcolor=\"$conf->{tdtop}\"><b>" . template_text('userpic') ."</b></td>");
     }