浏览代码

adding some comments about error check

tokul 20 年之前
父节点
当前提交
57ce50af07
共有 1 个文件被更改,包括 2 次插入0 次删除
  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)
 */
 $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."),