aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.chooseaddressbook.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2011-12-16 17:42:07 +0100
committerThomas Tanghus <thomas@tanghus.net>2011-12-16 17:42:07 +0100
commitfeeb0c742a57eb542f6e904dd4c8b5310bcc066a (patch)
tree8d422f84371d865dcdcdc60d95d4c3fcccd8b8e2 /apps/contacts/templates/part.chooseaddressbook.php
parent59ad0a6c9c9862792ec92f9ab53dfc30d54867fa (diff)
downloadnextcloud-server-feeb0c742a57eb542f6e904dd4c8b5310bcc066a.tar.gz
nextcloud-server-feeb0c742a57eb542f6e904dd4c8b5310bcc066a.zip
Misc. changes after review by bartv.
Diffstat (limited to 'apps/contacts/templates/part.chooseaddressbook.php')
-rw-r--r--apps/contacts/templates/part.chooseaddressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.chooseaddressbook.php b/apps/contacts/templates/part.chooseaddressbook.php
index 9574903cf95..ba008837f0e 100644
--- a/apps/contacts/templates/part.chooseaddressbook.php
+++ b/apps/contacts/templates/part.chooseaddressbook.php
@@ -1,7 +1,7 @@
<div id="chooseaddressbook_dialog" title="<?php echo $l->t("Choose active Address Books"); ?>">
<table width="100%" style="border: 0;">
<?php
-$option_addressbooks = OC_Contacts_Addressbook::allAddressbooks(OC_User::getUser());
+$option_addressbooks = OC_Contacts_Addressbook::all(OC_User::getUser());
for($i = 0; $i < count($option_addressbooks); $i++){
echo "<tr>";
$tmpl = new OC_Template('contacts', 'part.chooseaddressbook.rowfields');