summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-08 13:28:12 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-08 13:28:12 +0200
commit2b22f0db0a8238d088d6c1cca8a6df909b36e323 (patch)
treec9934841767d1cf4dd6ff555b8a85c8d5f7c9e92 /apps/contacts/ajax
parentea70ca3ce3cbbaac0e24e30304f44dfc37c11f56 (diff)
downloadnextcloud-server-2b22f0db0a8238d088d6c1cca8a6df909b36e323.tar.gz
nextcloud-server-2b22f0db0a8238d088d6c1cca8a6df909b36e323.zip
Add missing requesttoken.
Diffstat (limited to 'apps/contacts/ajax')
-rw-r--r--apps/contacts/ajax/importaddressbook.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/importaddressbook.php b/apps/contacts/ajax/importaddressbook.php
index f93bbfa4d9d..3c01e24a185 100644
--- a/apps/contacts/ajax/importaddressbook.php
+++ b/apps/contacts/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();
?>