*
* @version $Id$
* @package squirrelmail
+ * @subpackage addressbook
*/
/**
/* Get sorting order */
$abook_sort_order = get_abook_sort();
-/* Open addressbook, with error messages on but without LDAP (the *
- * second "true"). Don't need LDAP here anyway */
-$abook = addressbook_init(true, true);
+/* Open addressbook with error messages on.
+ remote backends (LDAP) are enabled because they can be used. (list_addr function)
+*/
+$abook = addressbook_init(true, false);
if($abook->localbackend == 0) {
plain_error_message(
_("No personal address book is defined. Contact administrator."),
$defselected = array();
$form_url = 'addressbook.php';
-
/* Handle user's actions */
if(sqgetGlobalVar('REQUEST_METHOD', $req_method, SQ_SERVER) && $req_method == 'POST') {