If the conditionals in mothership_item_list() get past the first one, errors out since $output hasn't been declared yet.

An easy fix, just have to declare the $output variable before it goes through the conditionals.

Line 286:
$output = '';

Comments

lslinnet’s picture

Ran into the same issue, have attached a patch that Morten can apply once he have 5 mins. (and just in case he is a little lazy and doesn't want to lookup the way to do this http://drupal.org/node/1054616). :)

lslinnet’s picture

Status: Active » Needs review

Forgot to change status.

mortendk’s picture

Status: Needs review » Reviewed & tested by the community

added to dev :)

mortendk’s picture

Status: Reviewed & tested by the community » Fixed
mortendk’s picture

Status: Fixed » Closed (fixed)