From a56c0425e6f80e77a1e52b13cd5a14cb6e838b9a Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 7 Oct 2012 18:44:06 -0700 Subject: start fixing all the item queries --- mod/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile.php') 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'); -- cgit v1.2.3