6.0.0-beta1
7/17/25

[#11969] Sending a message in dynamic mode gives notice undefined index body
Summary Sending a message in dynamic mode gives notice undefined index body
Queue IMP
Queue Version 6.0.3
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester zdrahal (at) ipnp (dot) troja (dot) mff (dot) cuni (dot) cz
Created 01/16/2013 (4565 days ago)
Due
Updated 01/16/2013 (4565 days ago)
Assigned
Resolved 01/16/2013 (4565 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/16/2013 07:09:04 PM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Harmless warning fixed in IMP 6.0.4.
01/16/2013 07:08:52 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 9074e216ac7ea418cbaff20e68304cc1a842508a
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Jan 16 12:08:40 2013 -0700

     Bug #11969: Fix undefined variable warning

  imp/lib/Dynamic/Compose.php |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/9074e216ac7ea418cbaff20e68304cc1a842508a
01/16/2013 11:30:39 AM zdrahal (at) ipnp (dot) troja (dot) mff (dot) cuni (dot) cz Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Sending a message in dynamic mode gives notice undefined index body
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Sending a message in the dynamic mode leads to the following notice in 
the log file:

[imp] PHP ERROR: Undefined index: body [pid 10676 on line 218 of 
"/usr/share/horde/imp/lib/Dynamic/Compose.php"]

Is it again harmless?

In the basic mode, on a similar place there is the condition
if (isset($args['body']))
should it be also here?

PS: Thank you for all your responses regarding all the small bugs I 
have found.

Saved Queries