6.0.0-alpha12
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
6/12/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5012] wrong trash folder options check in Message.php delete()
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . ..__. ..__ [__)|__|| | |[__) | \| ||__\\__|[__)
Comment
> The following line will return a wrong result > > if the user forgot to set the trash folder in > > the IMP options: > > > > $trash = IMP::folderPref($prefs->getValue('trash_folder'), true); > > > > $prefs->getValue('trash_folder') > > returns nothing, however folderPref will prepend INBOX, > > thus the trash folder will be INBOX, The following check > > will not fail, however should: > > > > ... > > $use_trash = $prefs->getValue('use_trash'); > > if ($use_trash && !$trash) { > > ... > > > > and @imap_mail_move will report an error.
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