summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates
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/templates
parentea70ca3ce3cbbaac0e24e30304f44dfc37c11f56 (diff)
downloadnextcloud-server-2b22f0db0a8238d088d6c1cca8a6df909b36e323.tar.gz
nextcloud-server-2b22f0db0a8238d088d6c1cca8a6df909b36e323.zip
Add missing requesttoken.
Diffstat (limited to 'apps/contacts/templates')
-rw-r--r--apps/contacts/templates/part.importaddressbook.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/templates/part.importaddressbook.php b/apps/contacts/templates/part.importaddressbook.php
index 01f8dd77d0a..8ceb5f3538b 100644
--- a/apps/contacts/templates/part.importaddressbook.php
+++ b/apps/contacts/templates/part.importaddressbook.php
@@ -12,6 +12,7 @@
<th><?php echo $l->t('Select address book to import to:') ?></th>
<td>
<form id="import_upload_form" action="<?php echo OCP\Util::linkTo('contacts', 'ajax/uploadimport.php'); ?>" method="post" enctype="multipart/form-data" target="import_upload_target">
+ <input type="hidden" name="requesttoken" value="<?php echo $_['requesttoken'] ?>">
<select id="book" name="book" class="float">
<?php
$contacts_options = OC_Contacts_Addressbook::all(OCP\USER::getUser());