From 8b292f538d38ed1ffe38c32dba2d020fd2c91fdd Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 14 Dec 2020 19:35:03 +0100 Subject: [PATCH] LSconfig :: get(): add array casting (using ensureIsArray()) --- src/includes/class/class.LSconfig.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/includes/class/class.LSconfig.php b/src/includes/class/class.LSconfig.php index c6eab737..979d32df 100644 --- a/src/includes/class/class.LSconfig.php +++ b/src/includes/class/class.LSconfig.php @@ -88,6 +88,8 @@ class LSconfig { return floatval($value); case 'string': return strval($value); + case 'array': + return ensureIsArray($value); default: return $value; }