Context |
Code$username = "anna--16"
$user = array("User" => array)
$filter = array(0 => "anna--16", "date" => "22.5.2011")
$scope = array("Photo.user_id" => "182", 0 => "DATE(Photo.created) = '2011-05-22'")
$is_friend = false
else
$is_friend = false;
if($this->UserBan->find('first', array('conditions' => array('UserBan.user_id' => $user['User']['id'], 'UserBan.ban_id' => $this->user['id']))))
{
PhotosController::index() - CORE/app/controllers/photos_controller.php, line 210
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
require - CORE/app/webroot/index.php, line 85
[main] - CORE/index.php, line 63