Skip to content

Commit

Permalink
[HOTFIX] show visits
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrysweel committed Jul 22, 2015
1 parent d97e5b4 commit fe24db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Manager/UserManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
Expand Down

0 comments on commit fe24db2

Please sign in to comment.