Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r18890: LJSUP-8607 (Identity account can not ans...

Committer: ailyin
LJSUP-8607 (Identity account can not answer to question of the day if he has not entered into any community)
U   trunk/htdocs/update.bml
Modified: trunk/htdocs/update.bml
===================================================================
--- trunk/htdocs/update.bml	2011-04-18 02:25:26 UTC (rev 18889)
+++ trunk/htdocs/update.bml	2011-04-18 02:47:36 UTC (rev 18890)
@@ -62,7 +62,9 @@
         return if LJ::bad_password_redirect();
 
         my @posting_access = $remote->posting_access_list;
-        if ( $remote->is_identity && scalar(@posting_access) == 0 ) {
+        if ( $remote->is_identity && scalar(@posting_access) == 0
+          && ! LJ::Request->get_param('usejournal') )
+        {
             $$title = $ML{'Sorry'};
             $$body = BML::ml('.error.nonusercantpost', {'sitename' => $LJ::SITENAME});
             return;

Tags: andy, bml, livejournal
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