wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r19837: LJSUP-9470. Error Access

Committer: gprochaev
LJSUP-9470. Error Access

U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2011-08-25 08:04:58 UTC (rev 19836)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2011-08-25 08:11:41 UTC (rev 19837)
@@ -735,7 +735,7 @@
                     auth_token => $post_params{'form_auth'}, 
                     user => $opts->{user})
             ) {
-                LJ::Request->pnotes ('error' => 'members');
+                LJ::Request->pnotes ('error' => 'ljphoto_members');
                 LJ::Request->pnotes ('remote' => LJ::load_user($opts->{'user'}));
                 return LJ::Request::FORBIDDEN;
             }
@@ -743,7 +743,7 @@
             LJ::set_remote ($u) unless $remote;
             $remote = LJ::get_remote();
             unless ($remote && $remote->can_use_ljphoto()) {
-                LJ::Request->pnotes ('error' => 'members');
+                LJ::Request->pnotes ('error' => 'ljphoto_members');
                 LJ::Request->pnotes ('remote' => LJ::get_remote());
                 return LJ::Request::FORBIDDEN;
             }

Tags: livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments