ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r17931: LJSUP-7377: Wishlist - LJSUP-7596

Committer: ssafronova
LJSUP-7377: Wishlist - LJSUP-7596
add redirect ability
U   trunk/cgi-bin/LJ/Widget/Template.pm
Modified: trunk/cgi-bin/LJ/Widget/Template.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Template.pm	2010-12-14 11:30:27 UTC (rev 17930)
+++ trunk/cgi-bin/LJ/Widget/Template.pm	2010-12-14 12:01:23 UTC (rev 17931)
@@ -47,6 +47,7 @@
     );
 
     $class->prepare_template_params($template, \%opts);
+    return if LJ::Request->redirected;
 
     return $template->output;
 }

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