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

use array properly

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