From ced653f3f2735d6eeac705b86d38905e4e9e0958 Mon Sep 17 00:00:00 2001 From: tokul Date: Mon, 28 Feb 2005 09:21:10 +0000 Subject: [PATCH] adding some comments about error check git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8915 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addressbook.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/addressbook.php b/src/addressbook.php index 8fafa44a..de712e84 100644 --- a/src/addressbook.php +++ b/src/addressbook.php @@ -52,6 +52,8 @@ displayPageHeader($color, 'None'); remote backends (LDAP) are enabled because they can be used. (list_addr function) */ $abook = addressbook_init(true, false); + +// FIXME: do we have to stop use of address book, when localbackend is not present. if($abook->localbackend == 0) { plain_error_message( _("No personal address book is defined. Contact administrator."), -- 2.25.1