juks (juks) wrote in changelog,
juks
juks
changelog

[ljcom] r9993: LJSUP-7870 test perion not expiring

Committer: iaskarov
LJSUP-7870 test perion not expiring
U   trunk/htdocs/manage/account/index.bml
Modified: trunk/htdocs/manage/account/index.bml
===================================================================
--- trunk/htdocs/manage/account/index.bml	2011-02-04 08:30:41 UTC (rev 9992)
+++ trunk/htdocs/manage/account/index.bml	2011-02-04 10:19:19 UTC (rev 9993)
@@ -404,7 +404,7 @@
         $body .= "<tr><td colspan='3' valign='top'>";
         $body .= "<div class='account_level'>";
         if ($u->get_cap('trynbuy')){
-            my $exptime = $u->prop('trynbuy_enabled_at') + 24*3600*7;
+            my $exptime = $u->prop('trynbuy_enabled_at') + $LJ::TRY_AND_BUY_LIFETIME;
             my (undef, undef, undef, $day, $month, $year) = localtime($exptime);
             $month ++;
             $year += 1900;

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