summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-23 16:29:45 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-23 16:29:45 +0100
commitf54cd14c7e7ea3a8e63ce35b3ac2c3ff5db984f5 (patch)
tree3a2efc04358d0a0eb66b72c67ea09d134f963b25 /apps
parent4290e1990ec7d04a06298df9aad4c4fd8519f9aa (diff)
parent9d36959d8283da56ee51439f5c4a22522c7366d6 (diff)
downloadnextcloud-server-f54cd14c7e7ea3a8e63ce35b3ac2c3ff5db984f5.tar.gz
nextcloud-server-f54cd14c7e7ea3a8e63ce35b3ac2c3ff5db984f5.zip
Merge pull request #14439 from owncloud/fix-ajax-files-external
Fix Ajax type casting for files_external
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/ajax/addMountPoint.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/ajax/addMountPoint.php b/apps/files_external/ajax/addMountPoint.php
index 0ed447f49e8..ac7359669d2 100644
--- a/apps/files_external/ajax/addMountPoint.php
+++ b/apps/files_external/ajax/addMountPoint.php
@@ -35,7 +35,7 @@ if ($_POST['isPersonal'] == 'true') {
$mountPoint = (string)$_POST['mountPoint'];
$oldMountPoint = (string)$_POST['oldMountPoint'];
$class = (string)$_POST['class'];
-$options = (string)$_POST['classOptions'];
+$options = (array)$_POST['classOptions'];
$type = (string)$_POST['mountType'];
$applicable = (string)$_POST['applicable'];