doc/plugin.txt says that 'refresh' is optional. Making sure that it does not
[squirrelmail.git] / functions / abook_database.php
index 8023f704026e85686c8c1f196b8e213c9453fd52..39f30e314dbf079297336effaa7dc22090950c37 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * abook_database.php
  *
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Backend for personal addressbook stored in a database,
@@ -202,7 +202,7 @@ class abook_database extends addressbook_backend {
             return false;
         }
        
-       if(!$this->listing) {
+       if(isset($this->listing) && !$this->listing) {
            return array();
        }