Network page requires memcache, but shouldn't die if someone isn't 
memcached.

        Patch by afuna. 

diffs (12 lines):

diff -r 5e1058897fcf -r d0b3ec04278c cgi-bin/DW/Logic/LogItems.pm
--- a/cgi-bin/DW/Logic/LogItems.pm      Tue Aug 18 15:19:45 2009 +0000
+++ b/cgi-bin/DW/Logic/LogItems.pm      Tue Aug 18 16:07:31 2009 +0000
@@ -97,7 +97,7 @@ sub watch_items
         # delete u objects based on 'showtypes'
         foreach my $fid ( keys %$friends_u ) {
             my $fu = $friends_u->{$fid};
-            if ( ! $fu->is_visible ||
+            if ( ! $fu || ! $fu->is_visible ||
                  $valid_types && index(uc($valid_types), $fu->{journaltype}) 
== -1 )
             {
                 delete $friends_u->{$fid};
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to