Hi,

in the stormteam module is a simple bug in the stormteam_storm_rewrite_where_sql() function. The $user variable is used to get the stormperson nid but $account must be used because $user is not available.

is:

$cond .= "ste1.members LIKE '%i:". $user->stormperson_nid .";%'";

should be:

$cond .= "ste1.members LIKE '%i:". $account->stormperson_nid .";%'";

I added a simple patch for that.

Greetings
Carsten

Comments

Status: Needs review » Needs work

The last submitted patch, stormteam.stormteam_storm_rewrite_where_sql.wrong_variable.patch, failed testing.

carsten müller’s picture

sorry, made a mistake with the patch, here is the correct one

carsten müller’s picture

Status: Needs work » Needs review
juliangb’s picture

Status: Needs review » Reviewed & tested by the community

RTBC, but should not be committed until #684016: Fix E_NOTICE notifications is fixed.

juliangb’s picture

juliangb’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

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