6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3588] can't add entries when only one source is editable
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .. .. ,. . |\ |\ /| | \./ | | | \| \/ |__| | |/\|
Comment
> in lib/base.php, the following code has a small bug: > > > > // Hide the list of addressbooks if there is only one available. > > $add_source_options = ''; > > $addSources = Turba::getAddressBooks(PERMS_EDIT); > > if (count($addSources) > 1) { > > > > this conditional expression is true only if you have at least 2 > editable sources, which neither agrees with the comment nor the > logic. e.g. in the case where you want to, say, copy an entry from an > readonly source to a readwrite source, this condition fails. > > > > if (count($addSources) > 0) { > > > > is the appropriate fix. > >
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