Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r20776: LJSUP-10704: Need display error for lj u...

Committer: anazarov
LJSUP-10704: Need display error for lj user with no verify email (s2
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2011-12-14 07:45:13 UTC (rev 20775)
+++ trunk/cgi-bin/LJ/S2.pm	2011-12-14 08:17:42 UTC (rev 20776)
@@ -3453,7 +3453,7 @@
     $onclick = "" if $LJ::DISABLED{'s2quickreply'};
     $onclick = "" if $page->{'_u'}->{'opt_whocanreply'} eq 'friends' and $remote and not LJ::is_friend($page->{'_u'}, $remote);
     $onclick = "" if $remote and $remote->is_deleted || $remote->is_suspended || $remote->is_expunged;
-    $onclick = "" if $remote and LJ::is_banned($page->{'_u'}, $remote);
+    $onclick = "" if $remote and LJ::is_banned($remote, $page->{'_u'});
 
     # See if we want to force them to change their password
     my $bp = LJ::bad_password_redirect({ 'returl' => 1 });

Tags: anazarov, livejournal, nfokz, pm
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