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

rsaddington’s picture

This should be clearer...

Array
(
    [0] => Array
        (
            [0] => <a href="/users/richtest" title="View user profile." class="active">rich_test</a>
            [1] => <a href="/users/richie-coach" title="View user profile.">richie the coach</a>
        )

)

should be...

Array
(
    [0] => <a href="/users/richtest" title="View user profile." class="active">rich_test</a>
    [1] => <a href="/users/richie-coach" title="View user profile.">richie the coach</a>
)
sprsquish’s picture

Status: Active » Fixed

The 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.