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 68dc6db72..2724771a7 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -221,7 +221,7 @@ function profile_content(&$a, $update = 0) {
}
- if(count($r)) {
+ if($r && count($r)) {
$parents_str = ids_to_querystr($r,'item_id');