Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm trying to use user_relationships_ui_actions_between in a custom content panel, but all i get returned is an empty array:
//Current user
global $user;
//User being viewed
$account = user_load(arg(1));
$actions = user_relationships_ui_actions_between($user, $account, array('add' => 1, 'requested' => 1, 'received' => 1));
$out .= theme('item_list', $actions);
print_r
just returnes an empty array.
Comments
Comment #1
Michsk CreditAttribution: Michsk commentedUser relationships ui is installed.
Comment #2
Michsk CreditAttribution: Michsk commented