Avoid checking unset $remote on logged out reading page.
Patch by afuna.
diffs (12 lines):
diff -r a691d76be23c -r 7e7aaa2e3474 cgi-bin/LJ/S2/FriendsPage.pm
--- a/cgi-bin/LJ/S2/FriendsPage.pm Tue Sep 01 18:33:30 2009 +0000
+++ b/cgi-bin/LJ/S2/FriendsPage.pm Tue Sep 01 23:19:57 2009 -0500
@@ -230,7 +230,7 @@ sub FriendsPage
'cuturl' =>
LJ::item_link($friends{$friendid}, $itemid, $item->{'anum'}, $stylemine),
'maximgwidth' => $maximgwidth,
'maximgheight' => $maximgheight,
- 'imageplaceundef' =>
$remote->{'opt_imageundef'},
+ 'imageplaceundef' => $remote ?
$remote->{'opt_imageundef'} : undef,
'ljcut_disable' => $remote ?
$remote->{'opt_cut_disable_reading'} : undef,
'suspend_msg' => $suspend_msg,
'unsuspend_supportid' =>
$suspend_msg ? $entry_obj->prop("unsuspend_supportid") : 0, });
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog