madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22403: LJSUP-12851: Redirect from redirect tech...

Committer: sbelyaev
LJSUP-12851: Redirect from redirect tech page
U   trunk/cgi-bin/LJ/S2/EntryPage.pm
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2012-07-06 09:33:05 UTC (rev 22402)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2012-07-06 10:20:10 UTC (rev 22403)
@@ -30,6 +30,9 @@
     }
 
     my ($entry, $s2entry) = EntryPage_entry($u, $remote, $opts);
+    if ($entry && $entry->original_post) {
+        $opts->{'redir'} = $entry->original_post->url; 
+    }
 
     return if $opts->{'suspendeduser'};
     return if $opts->{'suspendedentry'};

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