aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-13 14:05:58 +0100
committerMario <mario@mariovavti.com>2024-03-13 14:05:58 +0100
commit328ce0a837f596ef53895e272301aff3c2f7c84e (patch)
tree4d732374ce60dedcd3ce5be38b5f33c7fea0e9df /Zotlabs/Lib
parent34e24ea5e917b80eb1f149706fc019d3ec1e31fc (diff)
downloadvolse-hubzilla-328ce0a837f596ef53895e272301aff3c2f7c84e.tar.gz
volse-hubzilla-328ce0a837f596ef53895e272301aff3c2f7c84e.tar.bz2
volse-hubzilla-328ce0a837f596ef53895e272301aff3c2f7c84e.zip
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
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Config.php3
1 files changed, 3 insertions, 0 deletions
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;