From 842c758485178180c5bc317172e5ac95e2a1b0e2 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 25 Jun 2012 17:15:33 +0200 Subject: [PATCH] Missing requesttoken. --- ajax/importaddressbook.php | 1 + templates/part.importaddressbook.php | 1 + 2 files changed, 2 insertions(+) diff --git a/ajax/importaddressbook.php b/ajax/importaddressbook.php index f93bbfa4..3c01e24a 100644 --- a/ajax/importaddressbook.php +++ b/ajax/importaddressbook.php @@ -18,6 +18,7 @@ $maxUploadFilesize = min($maxUploadFilesize ,$freeSpace); $tmpl = new OCP\Template('contacts', 'part.importaddressbook'); $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize); +$tmpl->assign('requesttoken', $_SERVER['HTTP_REQUESTTOKEN']); $tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize)); $tmpl->printpage(); ?> diff --git a/templates/part.importaddressbook.php b/templates/part.importaddressbook.php index 7805db7d..c7c6555f 100644 --- a/templates/part.importaddressbook.php +++ b/templates/part.importaddressbook.php @@ -12,6 +12,7 @@ t('Select address book to import to:') ?>
+