summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/addbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/addbook.php')
-rw-r--r--apps/contacts/ajax/addbook.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/ajax/addbook.php b/apps/contacts/ajax/addbook.php
index 0b075a0e472..70f47cc8123 100644
--- a/apps/contacts/ajax/addbook.php
+++ b/apps/contacts/ajax/addbook.php
@@ -14,7 +14,7 @@ $book = array(
'displayname' => '',
);
$tmpl = new OCP\Template('contacts', 'part.editaddressbook');
-$tmpl->assignHTML('new', true);
-$tmpl->assignHTML('addressbook', $book);
+$tmpl->assign('new', true);
+$tmpl->assign('addressbook', $book);
$tmpl->printPage();
?>