Committer: gprochaev
iLJSUP-7017. minor fixU trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm
Modified: trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm 2010-10-05 01:55:09 UTC (rev 17500) +++ trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm 2010-10-05 02:09:45 UTC (rev 17501) @@ -25,7 +25,7 @@ my $phone = LJ::SMS::API::RU::Phone->get_phone($u->userid); if ($LJ::DISABLED{smsru} or ($country ne 'RU' - and ($phone && LJ::SMS::API::RU::Phone->get_cur_phone_statuses($phone) ne 'verified') + and not ($phone && LJ::SMS::API::RU::Phone->get_cur_phone_statuses($phone) ne 'verified') ) ){ @ntypes = grep { $_ ne 'LJ::NotificationMethod::SMSru' ? 1 : 0 } @ntypes;