In your form alter function you check to see if the profile module is installed before you determine which form field to hide (for the user name). This is not a valid check as the module may be installed but not being used. It would be better to check for the existance of the form "account" array like this:

if (isset($form['account']))

Comments

Christopher Herberte’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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