diff options
Diffstat (limited to 'apps/contacts/templates/part.chooseaddressbook.php')
-rwxr-xr-x[-rw-r--r--] | apps/contacts/templates/part.chooseaddressbook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.chooseaddressbook.php b/apps/contacts/templates/part.chooseaddressbook.php index adfc8c15161..3b92d1a0c78 100644..100755 --- 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("Configure Address Books"); ?>"> <table width="100%" style="border: 0;"> <?php -$option_addressbooks = OC_Contacts_Addressbook::all(OC_User::getUser()); +$option_addressbooks = OC_Contacts_Addressbook::all(OCP\USER::getUser()); for($i = 0; $i < count($option_addressbooks); $i++){ echo "<tr>"; $tmpl = new OC_Template('contacts', 'part.chooseaddressbook.rowfields'); |