Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Support insert tags as external redirect target (see #4373)
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed May 31, 2012
1 parent dd70598 commit ff04975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/modules/core/pages/PageRedirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ class PageRedirect extends \Frontend
*/
public function generate($objPage)
{
$this->redirect($objPage->url, (($objPage->redirect == 'temporary') ? 302 : 301));
$this->redirect($this->replaceInsertTags($objPage->url), (($objPage->redirect == 'temporary') ? 302 : 301));
}
}

0 comments on commit ff04975

Please sign in to comment.