Skip to content
Snippets Groups Projects
Commit dbfa1f6d authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

damn

parent 45ea7874
No related branches found
No related tags found
No related merge requests found
......@@ -72,8 +72,7 @@
if ($item->name == "Friends") {
$user = get_loggedin_user();
$options = ('relationship'=>'friendrequest', 'inverse_relationship'=>true, 'count'=>true);
$options['relationship_guid'] = $user->guid;
$options = array('relationship'=>'friendrequest', 'relationship_guid'=>$user->guid, 'inverse_relationship'=>true, 'count'=>true);
$count = elgg_get_entities_from_relationship($options);
if(!empty($count)){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment