Email to non-matching user´s address throws an error

patricio.keilty - October 2, 2008 - 17:49
Project:Notices
Version:5.x-1.3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

When recipient address does not match any of user´s mail an error is shown:

warning: array_keys() [function.array-keys]: The first argument should be an array in /public_html/drupal-5/modules/user/user.module on line 378.

Herewith a patch that works for me, please review.

AttachmentSize
notices.module.patch1.09 KB

#1

liquidcms - October 2, 2008 - 18:59

hey Pat, thanks for this.. i am just heading out of town for a week.. will take a look at your patch and fix one way or another when i get back.. and commit to cvs.

#2

liquidcms - October 2, 2008 - 19:02

but, yup.. your patch looks good

#3

liquidcms - October 2, 2008 - 19:06

committed to CVS.. i think that means it will show on DEV version later today.

#4

patricio.keilty - October 3, 2008 - 19:07
Status:needs review» fixed

Thanks!

#5

patricio.keilty - October 6, 2008 - 17:56
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.