Commit 360a9c77 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

set $friends to false if the user has no friends

parent 1277a6e8
...@@ -182,6 +182,9 @@ if ($records) { ...@@ -182,6 +182,9 @@ if ($records) {
} }
} }
} }
else {
$friends = false;
}
$smarty = smarty(); $smarty = smarty();
$allusergroups = get_associated_groups($userid); $allusergroups = get_associated_groups($userid);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment