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

[livejournal] r22700: 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:00:12 UTC (rev 22699)
+++ trunk/cgi-bin/LJ/Entry/Repost.pm	2012-08-20 10:22:50 UTC (rev 22700)
@@ -327,7 +327,7 @@
                                            $entry_obj->jitemid, 
                                            $u->userid );
         $reposted = (!!$reposted) || 0;
-        $paid = $reposted ? 
+        $paid = $reposted && !$is_owner ? 
             (!!$cost || 0) :
             (!!$entry_obj->repost_offer || 0);
                

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