diff options
author | Simon Rettberg | 2021-05-06 15:59:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-05-06 16:00:07 +0200 |
commit | 9d780ab3e933d0826b57885637896183eb08e165 (patch) | |
tree | 982bf0138ebd609a2ff7c76cfc065f72ecc2dc9f /modules-available | |
parent | [locationinfo] Add missing default keys for panels (diff) | |
download | slx-admin-9d780ab3e933d0826b57885637896183eb08e165.tar.gz slx-admin-9d780ab3e933d0826b57885637896183eb08e165.tar.xz slx-admin-9d780ab3e933d0826b57885637896183eb08e165.zip |
[baseconfig] Fix AIOOB warning
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/baseconfig/inc/validator.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/baseconfig/inc/validator.inc.php b/modules-available/baseconfig/inc/validator.inc.php index 60cda5a4..f7bbc861 100644 --- a/modules-available/baseconfig/inc/validator.inc.php +++ b/modules-available/baseconfig/inc/validator.inc.php @@ -32,7 +32,7 @@ class Validator case 'multilist': return self::validateMultiList($data[1], $displayValue); case 'multiinput': - return self::validateMultiInput($data[1], $displayValue); + return self::validateMultiInput($data[1] ?? [], $displayValue); default: Util::traceError('Unknown validation method: ' . $data[0]); } |