Make http://exampleusername.dreamwidth.org/security/access work. 
(/security/friends still works, as do the other privacy options -- 
/security/private, /security/public)

        Patch by novalis. 

diffs (14 lines):

diff -r f419e6a73ac0 -r 527cb37dc89f cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm        Sat Jan 02 13:53:33 2010 +0000
+++ b/cgi-bin/LJ/User.pm        Sat Jan 02 14:12:14 2010 +0000
@@ -8446,7 +8446,9 @@ sub make_journal
             if $stylesys == 1 && $view ne 'data' && ! $u->is_redirect;
 
         # check the filter itself
-        if ($securityfilter =~ /^(?:public|friends|private)$/i) {
+        if ( lc( $securityfilter ) eq 'access' ) {
+            $opts->{securityfilter} = 'friends';
+        } elsif ($securityfilter =~ /^(?:public|friends|private)$/i) {
             $opts->{securityfilter} = lc($securityfilter);
 
         # see if they want to filter by a custom group
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to