6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/1/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9095] Fix dimp_show_preview default value
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ . .. .. . | \[__)| ||\/|\ / |__/| \|/\|| | \/
Comment
> I've found the solution to this problem... When IMP uses database > backend for preferences, IMP saves just some preferences (I think > "editable preferences", locked = false) and uses prefs file to get > others. However when IMP uses ldap backend for preferences, IMP saves > all of them in LDAP and it creates a trouble with dimp_show_preview > pref. > > In "imp/templates/dimp/javascript_defs_dimp.php" line 70 > 'preview_pref' => $GLOBALS['prefs']->getValue('dimp_show_preview') > === true ? 'horiz' : $GLOBALS['prefs']->getValue('dimp_show_preview'), > This never will be true because LDAP returns a string type and not a > boolean type. > > I've made a patch, can you guys analyze and give a feedback if it is > a better way to solve it?
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