[Tickets #2294] NEW: unable to add anythin to address book

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Jul 19 00:08:58 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2294
-----------------------------------------------------------------------
 Ticket             | 2294
 Created By         | leena.heino at uta.fi
 Summary            | unable to add anythin to address book
 Queue              | Turba
 Version            | 2.0.3-RC1
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


leena.heino at uta.fi (2005-07-19 00:08) wrote:

Unable to add anything to address book, if only one address book or source
is available.

In file lib/base.php:
...
// Hide the list of addressbooks if there is only one available.
if ($source_count == 1) {
    $add_source_options = '';

This causes the add button to disappear, because in lib/Turba.php:
...
if (!empty($GLOBALS['add_source_options'])) {
    $menu->add(Horde::applicationUrl('add.php'), _("_Add") ...





More information about the bugs mailing list