summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-11 20:28:29 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-11 20:28:29 -0400
commitac395dced16a3887005cb0f75806109ec5a3805c (patch)
treeaf7311fa08b86bc2996009d6f4563fa81a30083f /apps
parent4bf13adff25f012c735931c0578b1f5d0790bdbe (diff)
downloadnextcloud-server-ac395dced16a3887005cb0f75806109ec5a3805c.tar.gz
nextcloud-server-ac395dced16a3887005cb0f75806109ec5a3805c.zip
Rename $contacts to $has_contacts, it missed this commit: 7cb74a0
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/index.php b/apps/contacts/index.php
index c1e33252f56..fbc3565c4da 100644
--- a/apps/contacts/index.php
+++ b/apps/contacts/index.php
@@ -15,7 +15,7 @@ OCP\App::checkAppEnabled('contacts');
// Get active address books. This creates a default one if none exists.
$ids = OC_Contacts_Addressbook::activeIds(OCP\USER::getUser());
$has_contacts = (count(OC_Contacts_VCard::all($ids, 0, 1)) > 0 ? true : false); // just to check if there are any contacts.
-if($contacts === false) {
+if($has_contacts === false) {
OCP\Util::writeLog('contacts','index.html: No contacts found.',OCP\Util::DEBUG);
}