This commit is contained in:
jeena 2013-07-17 15:59:56 +02:00
parent 85598a0d85
commit e43fde0d7d
7 changed files with 44 additions and 29 deletions

View file

@ -11,7 +11,7 @@ class PageController extends Katharsis_Controller_Abstract
public function __call($method, $args)
{
$preview = false;
if(array_key_exists('preview', $this->_getAllParams()) && Access::isLogged())
if(array_key_exists('preview', $this->_getAllParams()) && Access::isLoggedIn())
{
$preview = true;
}