6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/11/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8654] trimming composite fields
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___..__..___. . \ / _/ | |[__ | | \/ ./__.|__\[___|/\|
Comment
> a trim() is often not enough for a composite field, if some of the > fields it is composed from are empty. > > > > I always patch in toDriverKeys() the trim() with a > preg_replace('/\s\s+/', ' ', ...). This avoids names such as > "Firstname__Lastname", if the middle name is empty.
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