I'm surprised no one has caught this error before.

Notification Emails sent to the site admin, when a new user registers, have a blank subject line.

I traced the error to line 1639 of user.module which currently reads:

case 'pending_approval_admin_subject':

Whereas it should read:

case 'register_pending_approval_admin_subject':

I've tested this change and it seems to work, however if I'm wrong then please provide an alternative solution.

Thanks.

Comments

dmitrig01’s picture

StatusFileSize
new1.78 KB

Confirmed, proper patch attached.

dmitrig01’s picture

Version: 6.2 » 7.x-dev
Assigned: Unassigned » dmitrig01
Status: Needs review » Reviewed & tested by the community

erm

dries’s picture

Status: Reviewed & tested by the community » Fixed

Confirmed, tested and committed to DRUPAL-6 and CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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