6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/9/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1115] index array notice (error) if delete last mail in .trash folder
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__..__ . ..___. | |[__][ __| | | |/\|| |[_./|__| |
Comment
> In the file horde/imp/message.php > > line 271 > > ----------- > > $array_index = $indices[$index]; > > > > If you are currently reading the LAST (only) email from .trash folder > and DELETE the mail it will report an index error ( level NOTICE ) > which then prevents PHP from setting headers to load on the Browser. > ( cant set headers if output is written ) > > > > So what I did was do this to line 271: > > > > $array_index = @$indices[$index]; > > > > Added the @ which supresses the notice error and so the headers can > be used to just continue on with the use of IMP. > > > > More fansy code rewrite is needed Im sure instead of using my simple fix. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers