[#7399] Adding a new addressbook to empty pref[addressbooks]
Summary Adding a new addressbook to empty pref[addressbooks]
Queue Turba
Queue Version 2.3
Type Bug
State Resolved
Priority 1. Low
Owners jan@horde.org
Requester patrick.abiven@apitech.fr
Created 2008-09-26 (4088 days ago)
Due
Updated 2008-10-07 (4077 days ago)
Assigned
Resolved 2008-10-07 (4077 days ago)
Milestone
Patch No

Comments
patrick.abiven@apitech.fr 2008-09-26 11:20:04
Hello

When are using prefs['addressbooks'] = '' (ie all addressbooks are 
listed), but when creating a new address book it is automatically 
added in the pref['addressbooks']. So the auto-completion on email 
recipients is broken.



In turba/lib/Turba.php, in function createShare(), line 596, a test on 
$prefs not empty would be good for not changing the 
prefs['addressbooks'] if it is empty.



Regards

Patrick

CVS Commit <cvs@lists.horde.org> 2008-10-07 12:56:18

Jan Schneider <jan@horde.org> 2008-10-07 12:56:22
Fixed for Turba 2.3.1.