diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php index 5479f2806..e8eee810b 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -245,7 +245,7 @@ function profile_content(&$a, $update = 0) { $alike = array(); $dlike = array(); - if(count($r)) { + if($r !== false && count($r)) { foreach($r as $item) { like_puller($a,$item,$alike,'like'); |