Need to change line 225 from

if ($policy && ($account->uid > 1 || PASSWORD_POLICY_ADMIN) && !empty($edit['name'])) {
to
if ($policy && ($account->uid > 1 || PASSWORD_POLICY_ADMIN) && !empty($edit->name)) {

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

miglius’s picture

The $edit variable is an array, not the object, http://api.drupal.org/api/function/hook_user/6

deekayen’s picture

Status: Active » Postponed (maintainer needs more info)

Can you describe what you were doing that caused the error? What you were doing on what page?

bjcool’s picture

subscribe

deekayen’s picture

Status: Postponed (maintainer needs more info) » Fixed

I added an empty() check to $account. Without more information, I'm going to say this is fixed.

Status: Fixed » Closed (fixed)

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

nader@gizra.com made their first commit to this issue’s fork.