When uploading an image to a private message (image was added as a private message field), I now get the following warning:

Notice: Undefined index: body in privatemsg_new() (line 296 of /Users/benkaplan/git/drupal/sites/all/modules/privatemsg/privatemsg.pages.inc).

The image, however, is successfully uploaded. This was working smoothly before... Wonder if something changed in D7 core recently...

--Ben

CommentFileSizeAuthor
#1 fix_notices.patch1.01 KBberdir

Comments

berdir’s picture

Status: Active » Needs review
StatusFileSize
new1.01 KB

Looks like we need to check these too...

BenK’s picture

Status: Needs review » Reviewed & tested by the community

Patch works great... all errors are gone. RTBC.

--Ben

berdir’s picture

Status: Reviewed & tested by the community » Fixed

Commited, this doesn't need to be backported I think.

Status: Fixed » Closed (fixed)

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