Don't show the /network link, since it is not applicable (page will be
empty).
Patch by 900degrees.
diffs (12 lines):
diff -r d9473c4606c7 -r c598b44b4a47 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm Sun Nov 15 09:06:22 2009 +0000
+++ b/cgi-bin/LJ/User.pm Sun Nov 15 09:12:36 2009 +0000
@@ -1957,7 +1957,7 @@ sub can_use_mass_privacy {
}
sub can_use_network_page {
- return $_[0]->get_cap( 'friendsfriendsview' ) ? 1 : 0;
+ return 0 unless $_[0]->get_cap( 'friendsfriendsview' ) && $_[0]->is_person;
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog