Browse Source

adding some comments about error check

tokul 20 years ago
parent
commit
57ce50af07
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/addressbook.php

+ 2 - 0
src/addressbook.php

@@ -52,6 +52,8 @@ displayPageHeader($color, 'None');
  remote backends (LDAP) are enabled because they can be used. (list_addr function)
  remote backends (LDAP) are enabled because they can be used. (list_addr function)
 */
 */
 $abook = addressbook_init(true, false);
 $abook = addressbook_init(true, false);
+
+// FIXME: do we have to stop use of address book, when localbackend is not present.
 if($abook->localbackend == 0) {
 if($abook->localbackend == 0) {
     plain_error_message(
     plain_error_message(
             _("No personal address book is defined. Contact administrator."),
             _("No personal address book is defined. Contact administrator."),