From 1002f0a42d08279d85fa607009d8293fecbf161a Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 28 Feb 2013 19:14:53 +0100 Subject: [PATCH] Remove sanitization parameter from assign --- index.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index 4bc1d3d0..6104626d 100644 --- a/index.php +++ b/index.php @@ -57,14 +57,14 @@ OCP\Util::addStyle('contacts', 'jquery.Jcrop'); OCP\Util::addStyle('contacts', 'contacts'); $tmpl = new OCP\Template( "contacts", "contacts", "user" ); -$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize, false); +$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize); $tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize), false); -$tmpl->assign('addressbooks', OCA\Contacts\Addressbook::all(OCP\USER::getUser()), false); -$tmpl->assign('phone_types', $phone_types, false); -$tmpl->assign('email_types', $email_types, false); -$tmpl->assign('adr_types', $adr_types, false); -$tmpl->assign('impp_types', $impp_types, false); -$tmpl->assign('categories', $categories, false); -$tmpl->assign('im_protocols', $im_protocols, false); +$tmpl->assign('addressbooks', OCA\Contacts\Addressbook::all(OCP\USER::getUser())); +$tmpl->assign('phone_types', $phone_types); +$tmpl->assign('email_types', $email_types); +$tmpl->assign('adr_types', $adr_types); +$tmpl->assign('impp_types', $impp_types); +$tmpl->assign('categories', $categories); +$tmpl->assign('im_protocols', $im_protocols); $tmpl->printPage();