diff --git a/Manager/UserManager.php b/Manager/UserManager.php index 51269e9..f1299ef 100755 --- a/Manager/UserManager.php +++ b/Manager/UserManager.php @@ -367,7 +367,7 @@ public function getUserVisits($user, $limit) $users = array(); - if (is_array($data) && array_key_exist('resources', $data) && is_array($data['resources'])){ + if (is_array($data) && array_key_exists('resources', $data) && is_array($data['resources'])){ foreach($data['resources'] as $resource){ $users[] = $this->hydrate($resource['participant_voyeur']); }