Upgrade to be able to run on PHp7

This commit is contained in:
Jeena 2020-06-16 18:51:51 +02:00
parent b9e04c6ca3
commit 4265af9338
5 changed files with 29 additions and 28 deletions

View file

@ -17,7 +17,7 @@ class PageController extends Katharsis_Controller_Abstract
}
$url = substr($method, 0, -6); // remove Action from urlAction
$pageId = $this->_page->getIdByUrl($url, $preview);
if(!$pageId) {
@ -37,4 +37,4 @@ class PageController extends Katharsis_Controller_Abstract
echo $this->_view->render('main');
die();
}
}
}