Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2018-12-05 12:24:52 +0300
committersualko <klaus@jsxc.org>2018-12-05 12:35:54 +0300
commitf54bdcec78841770ec391e3b33f33e762169ad94 (patch)
treed32bf1630bbf3e58b5ba9ab1c0184a4e14601054 /build/lib/Controller/SettingsController.php
parentd71398a68326b27eeebc96b004fb227440be826c (diff)
build v3.4.3v3.4.3
Diffstat (limited to 'build/lib/Controller/SettingsController.php')
-rw-r--r--build/lib/Controller/SettingsController.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/lib/Controller/SettingsController.php b/build/lib/Controller/SettingsController.php
index dc67a32..47fe9dd 100644
--- a/build/lib/Controller/SettingsController.php
+++ b/build/lib/Controller/SettingsController.php
@@ -301,6 +301,10 @@ class SettingsController extends Controller
if (is_array($options)) {
foreach ($options as $prop => $value) {
+ if (!is_array($value) && !is_object($value)) {
+ continue;
+ }
+
if ($prop !== 'xmpp' || $data ['xmpp'] ['overwrite']) {
foreach ($value as $key => $v) {
if ($v !== '' && $key !== 'url') {