In hook_user(), testing for isset($edit['paypal_email']) validates true when a previously populated "Paypal email address" field is cleared and submitted.

!empty($edit['paypal_email']) will validate properly in this case.

Comments

aether’s picture

Status: Active » Needs review
StatusFileSize
new593 bytes

Attaching patch.

jeffl8n’s picture

Assigned: Unassigned » jeffl8n
StatusFileSize
new749 bytes

Updating patch based off latest code.