6.0.0-beta1
10/16/25

[#2172] No galleries produces a warning when attaching a picture in imp
Summary No galleries produces a warning when attaching a picture in imp
Queue Ansel
Type Bug
State Resolved
Priority 1. Low
Owners selsky (at) columbia (dot) edu
Requester selsky (at) columbia (dot) edu
Created 06/23/2005 (7420 days ago)
Due
Updated 06/23/2005 (7420 days ago)
Assigned 06/23/2005 (7420 days ago)
Resolved 06/23/2005 (7420 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/23/2005 03:10:34 PM Matt Selsky Comment #3
State ⇒ Resolved
Reply to this comment
Committed.
06/23/2005 07:38:26 AM Chuck Hagenbuch Comment #2
Assigned to Matt Selsky
State ⇒ Assigned
Reply to this comment
Looks good to me.
06/23/2005 01:15:57 AM Matt Selsky New Attachment: ansel-api.patch Download
 
06/23/2005 01:15:06 AM Matt Selsky Comment #1
State ⇒ Feedback
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ No galleries produces a warning when attaching a picture in imp
Queue ⇒ Ansel
Reply to this comment
When I try to attach an image in IMP's HTML composition mode and I 
don't have any galleries defined in ansel, I get the following error:



Notice: Undefined offset: 0 in 
/etc/httpd/htdocs/horde/ansel/lib/api.php on line 444



Notice: Undefined index: in /etc/httpd/htdocs/horde/ansel/lib/api.php 
on line 444



Warning: array_keys(): The first argument should be an array in 
/etc/httpd/htdocs/horde/ansel/lib/api.php on line 444



Fatal error: Call to undefined function: listimages() in 
/etc/httpd/htdocs/horde/ansel/lib/api.php on line 449



Is this the proper fix?

Saved Queries