]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: Fix no active Addressbooks
authorBart Visscher <bartv@thisnet.nl>
Fri, 3 Aug 2012 14:11:10 +0000 (16:11 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 12:54:16 +0000 (14:54 +0200)
apps/contacts/lib/addressbook.php

index 1953b296616a782df9508cbfc57f818ddf851bfd..974ecb4047d624f841cf70fb6ec01e0cb82607d1 100644 (file)
@@ -219,6 +219,7 @@ class OC_Contacts_Addressbook{
                        OCP\Util::writeLog('contacts','OC_Contacts_Addressbook:active:, exception: '.$e->getMessage(),OCP\Util::DEBUG);
                        OCP\Util::writeLog('contacts','OC_Contacts_Addressbook:active, ids: '.join(',', $active),OCP\Util::DEBUG);
                        OCP\Util::writeLog('contacts','OC_Contacts_Addressbook::active, SQL:'.$prep,OCP\Util::DEBUG);
+                       return array();
                }
 
                return $addressbooks;