журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22701: LJSUP-13350: For owner in community is s...

Committer: nnikulochkina
LJSUP-13350: For owner in community is showing Paid Repost button
U   trunk/cgi-bin/LJ/Entry/Repost.pm
Modified: trunk/cgi-bin/LJ/Entry/Repost.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry/Repost.pm	2012-08-20 10:22:50 UTC (rev 22700)
+++ trunk/cgi-bin/LJ/Entry/Repost.pm	2012-08-20 11:00:41 UTC (rev 22701)
@@ -334,7 +334,7 @@
         if ($paid && !$reposted) {
             $cost = __get_cost($entry_obj, $u);
 
-            $paid = 0 if ($cost == 0 && !$is_owner)
+            $paid = 0 if ($cost == 0 && !$is_owner) || !$entry_obj->repost_budget;
         }
     }
 

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