Skip to content

Commit

Permalink
fix app_dev.php usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Feb 18, 2019
1 parent 41e4155 commit 3e07780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/modules/simple_news_urls/classes/SimpleNewsUrls.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function parseArticles($objTemplate, $arrArticle, $objModule)
}

// check if news alias is at the beginning of url
if (stripos($strRequest, $arrArticle['alias']) !== 0)
if (stripos(str_replace('app_dev.php/', '', $strRequest), $arrArticle['alias']) !== 0)
{
/** @var \PageModel $objPage */
global $objPage;
Expand Down

0 comments on commit 3e07780

Please sign in to comment.