Closed (fixed)
Project:
User Relationships
Version:
5.x-2.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2008 at 09:01 UTC
Updated:
4 May 2008 at 08:11 UTC
Hi,
In user_relationship_blocks.module, line 298 reads:
$output[] = theme('item_list', array($users));
This passes an array like so:
Array
(
[0] => Array
(
[0] => rich_test
[1] => richie the coach
)
)
This array should be:
Array
(
[0] => rich_test
[1] => richie the coach
)
Updating the code to below, fixes this issue
$output[] = theme('item_list', $users);
I don't have CVS running at the moment, when I do I can post a patch for this fix.
Cheers
Rich
Comments
Comment #1
rsaddington commentedThis should be clearer...
should be...
Comment #2
sprsquish commentedThe array wrap needed to be there for the "All Relationships" blocks, but shouldn't be there for the specific relationships blocks.
Pushed fix into -dev.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.