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

[livejournal] r22794: LJSUP-13479: Status of paid repost updat...

Committer: nnikulochkina
LJSUP-13479: Status of paid repost updating incorrectly
U   trunk/cgi-bin/LJ/Entry/Repost.pm
Modified: trunk/cgi-bin/LJ/Entry/Repost.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry/Repost.pm	2012-09-03 08:14:13 UTC (rev 22793)
+++ trunk/cgi-bin/LJ/Entry/Repost.pm	2012-09-03 08:38:54 UTC (rev 22794)
@@ -607,7 +607,9 @@
                                 $entry_obj->jitemid, 
                                 $u->userid);
     
-        return  { 'delete' => 'OK' };
+        my $status = $class->get_status($entry_obj, $u);
+        $status->{'delete'} = 'OK';  
+        return $status;
     }
 
     return LJ::API::Error->get_error('entry_not_found');

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