Code Context } else {
$article = $this->Article->find('first', array('conditions' => array('Article.id' => $id)));
if ($article['Article']['enabled'] == 1) {
$id = '33'
$result = ''
$article = array()
ProductController::detail() - APP/Controller/ProductController.php, line 385
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117