madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22244: LJSUP-12562: Not delete Repost if Delete...

Committer: sbelyaev
LJSUP-12562: Not delete Repost if Deleted original entry
U   trunk/cgi-bin/LJ/Entry/Repost.pm
Modified: trunk/cgi-bin/LJ/Entry/Repost.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry/Repost.pm	2012-06-14 13:42:08 UTC (rev 22243)
+++ trunk/cgi-bin/LJ/Entry/Repost.pm	2012-06-14 13:46:46 UTC (rev 22244)
@@ -440,6 +440,10 @@
                                         'datetime'     => $entry_obj->eventtime_mysql, 
                                         'url'          => $fake_entry->url);
 
+            if ($opts->{'original_post_obj'}) {
+                ${$opts->{'original_post_obj'}}= $entry_obj;
+            }
+
             if ($opts->{'removed'}) {
                 ${$opts->{'removed'}} = 1;
             }

Tags: livejournal, madeon, pm, sbelyaev
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