[dw-free] nuke all references to LJ friend functions
[commit: http://hg.dwscoalition.org/dw-free/rev/1dd338c2158f]
http://bugs.dwscoalition.org/show_bug.cgi?id=1269
readd blank list check
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1269
readd blank list check
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/Logic/LogItems.pm
-------------------------------------------------------------------------------- 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 --------------------------------------------------------------------------------