madeon (madeon) wrote in changelog,
madeon
madeon
changelog

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

Committer: sbelyaev
LJSUP-12562: Not delete Repost if Deleted original entry
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2012-06-14 13:46:46 UTC (rev 22244)
+++ trunk/cgi-bin/LJ/S2.pm	2012-06-14 13:52:52 UTC (rev 22245)
@@ -4009,6 +4009,7 @@
                 my $link = $entry->prop('repost_link');
                 my ($journalid, $jitemid) = split(/:/, $link);
             
+                return $nulll_link unless int($journalid);
                 my $reposted_entry = LJ::Entry->new(int($journalid), 
                                                     jitemid => int($jitemid));
 

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