Don't call methods on undefined values.
Patch by denise.
diffs (12 lines):
diff -r 315cee86e43d -r ce5102c529ee htdocs/tools/recent_comments.bml
--- a/htdocs/tools/recent_comments.bml Thu Aug 20 17:50:12 2009 +0000
+++ b/htdocs/tools/recent_comments.bml Thu Aug 20 16:52:32 2009 -0500
@@ -133,7 +133,7 @@ body<=
next if $r->{state} eq "D";
my $pu = $us->{$r->{posterid}};
- next if $pu->is_expunged || $pu->is_suspended;
+ next if $pu && ( $pu->is_expunged || $pu->is_suspended );
$r->{'props'} = $props{$r->{'jtalkid'}};
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog