Our site is upgrading to imagefield 5.x-2.1

I noticed that if we have a persistent drupal_set_message (i.e. You have 1 friend request.) that this is returned with the response after Upload. See screenshot: http://img.skitch.com/20081027-k1q4wrs1sseacgbeykj57cykp4.png

CommentFileSizeAuthor
#1 imagefield_326928.patch737 bytessirkitree

Comments

sirkitree’s picture

Status: Active » Needs review
StatusFileSize
new737 bytes

I think the intended functionality was to return error messages. Correct?

If so, all that needs to be done is to set the $display param like so: theme('status_messages', 'error') on line 1161 of imagefield.module

I tried this out and it seems to work just fine, unless, of course, this was not your intended functionality.
http://img.skitch.com/20081027-gtn6pt45cb4cx47u3ddnksg2sj.png

drewish’s picture

Status: Needs review » Fixed

looks good. committed to DRUPAL-5--2.

Status: Fixed » Closed (fixed)

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