aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php2
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');