Code guidelines dictate that the use of $user should be limited to the reference the global $user AKA the current user. In all other cases use $account.

Comments

maartenvg’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
maartenvg’s picture

Status: Active » Fixed
maartenvg’s picture

Version: 6.x-1.x-dev » 5.x-1.x-dev
Status: Fixed » Active

backport to 5.x

maartenvg’s picture

Status: Active » Fixed

ported back to 5.x

Anonymous’s picture

Status: Fixed » Closed (fixed)

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