6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/2/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11231] Unable to use prefs_init on IMP preferences
*
Your Email Address
*
Spam protection
Enter the letters below:
._. __.. ,._..__ | (__ \./ | [ __ _|_.__) | _|_[_./
Comment
>>> Works fine here. Example prefs.local.php: >>> >>> <?php >>> $_prefs['add_source']['hook'] = true; >> >> That is exactly what I tried but only works for horde prefs. I tried >> with your master branch, any idea why this could be happening? > > I found what was happening. If the pref value is null the hook will > not be called, example: > > $_prefs['add_source']['value'] = null; > $_prefs['add_source']['hook'] = true; > > I don't know if this is an expected behaviour but changing the value > to an empty string fixed my problem.
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