diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 13:27:32 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 13:27:32 +0200 |
commit | c009bc4b87fcbb34b71ba04a5c7d043e4ea5abdc (patch) | |
tree | e62ad2c05892d9e03f2286e496cbd01512e9dad6 /apps/contacts/templates | |
parent | ec4c373eaaf279e7a7d441ec52ec40a7a4886a53 (diff) | |
download | nextcloud-server-c009bc4b87fcbb34b71ba04a5c7d043e4ea5abdc.tar.gz nextcloud-server-c009bc4b87fcbb34b71ba04a5c7d043e4ea5abdc.zip |
Revert
Diffstat (limited to 'apps/contacts/templates')
-rw-r--r-- | apps/contacts/templates/part.chooseaddressbook.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/templates/part.chooseaddressbook.php b/apps/contacts/templates/part.chooseaddressbook.php index 74fab99010b..a0ec053ab91 100644 --- a/apps/contacts/templates/part.chooseaddressbook.php +++ b/apps/contacts/templates/part.chooseaddressbook.php @@ -5,8 +5,8 @@ $option_addressbooks = OC_Contacts_Addressbook::all(OCP\USER::getUser()); for($i = 0; $i < count($option_addressbooks); $i++){ echo "<tr>"; $tmpl = new OCP\Template('contacts', 'part.chooseaddressbook.rowfields'); - $tmpl->assignHTML('addressbook', $option_addressbooks[$i]); - $tmpl->assignHTML('active', OC_Contacts_Addressbook::isActive($option_addressbooks[$i]['id'])); + $tmpl->assign('addressbook', $option_addressbooks[$i]); + $tmpl->assign('active', OC_Contacts_Addressbook::isActive($option_addressbooks[$i]['id'])); $tmpl->printpage(); echo "</tr>"; } |