madeon (madeon) wrote in changelog,
madeon
madeon
changelog

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

Committer: sbelyaev
LJSUP-12562: Not delete Repost if Deleted original entry
U   trunk/cgi-bin/LJ/Widget/EntryChooser.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryChooser.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryChooser.pm	2012-06-14 12:16:35 UTC (rev 22240)
+++ trunk/cgi-bin/LJ/Widget/EntryChooser.pm	2012-06-14 13:10:04 UTC (rev 22241)
@@ -40,6 +40,7 @@
 
         # can we show it?
         if ($entry_reposted && !$entry->visible_to($remote)) {
+            $removed                 = 1;
             $entry                  = $repost_entry_obj;
             $repost_url             = $entry->url;
             $replacement_event_text = $entry->event_raw;
@@ -99,7 +100,7 @@
             $delete_real_attr_link = $entry->url;
         }
 
-        my $entry_url =  $entry->url;
+        my $entry_url = $entry->url;
         my $entry_subject = $entry->subject_text;
 
         my $alldateparts;

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