Using pressflow 6.22 with E_NOTICE on, I get

Only variables should be passed by reference
      /sites/all/modules/content_profile/content_profile.rules_defaults.inc
      line 13

Comments

Bump... I'm seeing this too. Same conditions.

See attached patch.

Status:Active» Needs review

Same issue here, patch removed warning.

Status:Needs review» Reviewed & tested by the community

Version:6.x-1.0» 6.x-1.x-dev
Issue tags:+Quick fix

Thanks @jaapjan that patch works, possibly consider this one too it may be slightly faster:
http://stackoverflow.com/questions/6698428/return-first-key-of-associati...

Either way this is still RTBC.