diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-02-23 14:57:37 +0000 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-02-23 14:57:37 +0000 |
commit | 9d36959d8283da56ee51439f5c4a22522c7366d6 (patch) | |
tree | e3500a761239e4571775ff83cfca52bc4c506683 /apps/files_external | |
parent | 81760321765272f638bf50487518860374ffb7f0 (diff) | |
download | nextcloud-server-9d36959d8283da56ee51439f5c4a22522c7366d6.tar.gz nextcloud-server-9d36959d8283da56ee51439f5c4a22522c7366d6.zip |
Fix Ajax type casting for files_external
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/ajax/addMountPoint.php | 2 |
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']; |