Code Context $album = $this->Album->findBySlug($id);
if (!$this->Album->exists($album['Album']['id'])) {
$id = null
$album = array()
AlbunsController::view() - APP/Controller/AlbunsController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118