From 328ce0a837f596ef53895e272301aff3c2f7c84e Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 13 Mar 2024 14:05:58 +0100 Subject: fix another regression from last Lib/Config refactor which returned the default falue in case the value was an array. also add a testcase for this situation --- Zotlabs/Lib/Config.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zotlabs/Lib/Config.php') diff --git a/Zotlabs/Lib/Config.php b/Zotlabs/Lib/Config.php index 933f4bff3..95df8ed6f 100644 --- a/Zotlabs/Lib/Config.php +++ b/Zotlabs/Lib/Config.php @@ -143,6 +143,9 @@ class Config { return $value; } } + else { + return $value; + } } return $default; -- cgit v1.2.3