From 9d36959d8283da56ee51439f5c4a22522c7366d6 Mon Sep 17 00:00:00 2001
From: Robin McCorkell <rmccorkell@karoshi.org.uk>
Date: Mon, 23 Feb 2015 14:57:37 +0000
Subject: [PATCH] Fix Ajax type casting for files_external

---
 apps/files_external/ajax/addMountPoint.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_external/ajax/addMountPoint.php b/apps/files_external/ajax/addMountPoint.php
index 0ed447f49e..ac7359669d 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'];
 
-- 
GitLab