vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17362: LJSUP-6482: SMS Notification RU

Committer: vsukhanov
LJSUP-6482: SMS Notification RU
U   trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm
Modified: trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm	2010-09-13 08:27:51 UTC (rev 17361)
+++ trunk/cgi-bin/LJ/Widget/SubscribeInterface.pm	2010-09-13 08:38:52 UTC (rev 17362)
@@ -22,8 +22,8 @@
 
     my @ntypes = @LJ::NOTIFY_TYPES;
     my (undef, $country) = LJ::GeoLocation->ip_class;
-    if ($country ne 'RU' or
-        LJ::SMS::API::RU::Phone->is_users_number_supported($u)
+    if ($country ne 'RU' and
+        not LJ::SMS::API::RU::Phone->is_users_number_supported($u)
     ){
         @ntypes = grep { $_ ne 'LJ::NotificationMethod::SMSru' ? 1 : 0 } @ntypes;
     }

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