[livejournal] r20776: LJSUP-10704: Need display error for lj u...
Committer: anazarov
LJSUP-10704: Need display error for lj user with no verify email (s2U 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 });
