juks (juks) wrote in changelog,
juks
juks
changelog

[ljcom] r10053: LJSUP-7935

Committer: iaskarov
LJSUP-7935
U   trunk/htdocs/community/account.bml
Modified: trunk/htdocs/community/account.bml
===================================================================
--- trunk/htdocs/community/account.bml	2011-02-16 08:41:10 UTC (rev 10052)
+++ trunk/htdocs/community/account.bml	2011-02-16 08:54:10 UTC (rev 10053)
@@ -116,7 +116,6 @@
             $body .= "<?p <b>$ML{'.main.change'}</b> p?>\n";
             $body .= $switchto_paid_block;
         }
- 
         # Free without ads
         elsif ($u->in_class("plus")) {
             if ($POST{areyousure}) {
@@ -150,7 +149,7 @@
                 $body .= LJ::html_submit("areyousure", $ML{'.btn.tobasic'});
                 $body .= "</form> p?>\n";
 
-                $body .= $switchto_trynbuy_block if (LJ::TryNBuy->can_enable($remote));
+                $body .= $switchto_trynbuy_block if (LJ::TryNBuy->can_enable($u));
                 
                 $body .= $switchto_paid_block;
             }
@@ -169,7 +168,7 @@
             $body .= LJ::html_submit("sponsored", $ML{'.btn.toplus'});
             $body .= "</form>\n";
 
-            $body .= $switchto_trynbuy_block if (LJ::TryNBuy->can_enable($remote));
+            $body .= $switchto_trynbuy_block if (LJ::TryNBuy->can_enable($u));
             
             $body .= $switchto_paid_block;
 

Tags: bml, juks, ljcom
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