From 1eb2c3ed9f65fde7592e99e96a8a1ab8abbabb2f Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sat, 26 Jun 2021 11:56:25 +0200 Subject: [PATCH 1/5] check if partitionsize is greater the max upload size --- views/bootstrap/class.Settings.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index c31d4f06c..4948bc33c 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -201,7 +201,10 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style { getAllUsers(); if($users) { - $selections = explode(',', $settings->{"_".$name}); + if(is_array($settings->{"_".$name})) + $selections = $settings->{"_".$name}; + else + $selections = explode(',', $settings->{"_".$name}); echo "