diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 3af3dc6a7fb3..8047f5c1ddb1 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -220,7 +220,7 @@ public static function getBackendStatus($class, $options, $isPersonal, $testOnly return StorageNotAvailableException::STATUS_SUCCESS; } foreach ($options as $key => $option) { - $option[$key] = self::setUserVars(OCP\User::getUser(), $option); + $options[$key] = self::setUserVars(OCP\User::getUser(), $option); } if (class_exists($class)) { try {