From eb261de292a3a060e1cc46c1172864f3191ab9f1 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sun, 8 Jul 2012 14:48:49 +0200 Subject: [PATCH] Add missing requesttoken. --- ajax/loadcard.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ajax/loadcard.php b/ajax/loadcard.php index 4e6f2206..09b6bbe0 100644 --- a/ajax/loadcard.php +++ b/ajax/loadcard.php @@ -51,6 +51,7 @@ $email_types = OC_Contacts_App::getTypesOfProperty('EMAIL'); $tmpl = new OCP\Template('contacts','part.contact'); $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize); +$tmpl->assign('requesttoken', $_SERVER['HTTP_REQUESTTOKEN']); $tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize)); $tmpl->assign('adr_types',$adr_types); $tmpl->assign('phone_types',$phone_types);