Some small bugfixes. Still testing.
[squirrelmail.git] / functions / addressbook.php
index 4432751b2fa0ba4a2b61e43fa1353a13e007c878..61b9e7beefd811cc2a246c4cf53731f81d02631d 100644 (file)
@@ -41,7 +41,7 @@ if (isset($address_book_global_filename)) {
 }
 
 /* Only load database backend if database is configured */
-if(isset($addrbook_dsn)) {
+if(isset($addrbook_dsn) && !empty($addrbook_dsn)) {
   include_once('../functions/abook_database.php');
 }