6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2419] Local SQL doesn't work (with fix)
*
Your Email Address
*
Spam protection
Enter the letters below:
__..__ .___. ..__ (__ | \[__ |\ |[__) .__)|__/| | \|[__)
Comment
> I just installed Turba h3-2.0.3 on Horde 3.0.2, configured to use my > local MySQL database. > > > > I added a contact without problems, but the lists didn't show the > contact, just empty entries called 'D' and another single letter name. > > > > I tracked it down the file turba/lib/Driver/sql.php and the section > around line 310: > > > > $binds = Horde_SQL::buildClause($this->_db, > $vals['field'],\ > > $vals['op'], $rhs, true); > > $clause .= $binds[0]; > > $values = array_merge($values, $binds[1]); > > > > Horde_SQL::buildClause returns a string, not an array. Changing the > clause line above to: > > > > $clause .= $binds > > > > and removing the "$values=..." line fixes the problem. > > > > The bug was apparently introduced in CVS version 1.72 of the file on June 9. > > > > Cheers! > >
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