[Tickets #11959] Stripping attachments in dynamic view causes an error

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jan 15 14:41:17 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11959
------------------------------------------------------------------------------
  Ticket             | 11959
  Created By         | aarno.sandvik at helsinki.fi
  Summary            | Stripping attachments in dynamic view causes an error
  Queue              | IMP
  Version            | 6.0.3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


aarno.sandvik at helsinki.fi (2013-01-15 14:41) wrote:

When a user tries to remove attachments from a message it causes an error:

PHP Fatal error:  Call to a member function push() on a non-object in  
/horde/imp/lib/Dynamic/Message.php on line 51

Line 51 contains the following code:

$notification->push(_("Attachment successfully stripped."), 'horde.success');

$notification hasn't been declared before it's called and that causes  
the error.



aarno.sandvik at helsinki.fi (2013-01-15 14:41) uploaded:  
hy_fix_broken_strip_attachment.patch

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=hy_fix_broken_strip_attachment.patch&ticket=11959&fn=%2Fhy_fix_broken_strip_attachment.patch





More information about the bugs mailing list