6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/6/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7916] \U does not behave as described in the custom sql driver
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.. ..__ .__ .__ | |\ || \[__)[__) | | \||__/| [__)
Comment
> This fixes it at least for me: > > > > in Driver.php where it says: > > function Vacation_Driver($user, $realm, $params = array()) > > { > > $this->_params = $params; > > > > // Check if hordeauth is set to 'full' > > $hordeauth = $this->getParam('hordeauth'); > > if ($hordeauth !== 'full') { > > @list($user,) = explode('@', $user, 2); > > } > > $this->_user = $user; > > > > if (!isset($params[$realm])) { > > $realm = 'default'; > > } > > $this->_realm = $realm; > > } > > > > change it to: function Vacation_Driver($user, $realm, $params = array()) > > { > > $this->_params = $params; > > > > if (!isset($params[$realm])) { > > $realm = 'default'; > > } > > $this->_realm = $realm; > > > > // Check if hordeauth is set to 'full' > > $hordeauth = $this->getParam('hordeauth'); > > if ($hordeauth !== 'full') { > > @list($user,) = explode('@', $user, 2); > > } > > $this->_user = $user; > > > > } > > > > I don't know your codebase well, but it seems to me that getParam > depends on $this->_ream being set, but it wasn't.
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