readd blank list check
Patch by kareila.
diffs (12 lines):
diff -r bbd6f2efb159 -r 1dd338c2158f cgi-bin/DW/Logic/LogItems.pm
--- a/cgi-bin/DW/Logic/LogItems.pm Wed Jun 10 14:40:29 2009 +0000
+++ b/cgi-bin/DW/Logic/LogItems.pm Wed Jun 10 14:57:53 2009 +0000
@@ -173,7 +173,7 @@ sub watch_items
return undef if $fr_loaded;
# get journal's friends
- my $friends = $u->watch_list;
+ my $friends = $u->watch_list or return undef;
my %friends_u;
# fill %allfriends with all friendids and cut $friends
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog