A free, self-hostable news aggregator…
JSON Dot Notation allow string conversion (#6631)
Alexandre Alapetitef21a164c055a
diff --git a/app/Utils/dotNotationUtil.php b/app/Utils/dotNotationUtil.phpindex a7fb066d1..9c44e5312 100644--- a/app/Utils/dotNotationUtil.php+++ b/app/Utils/dotNotationUtil.php@@ -55,7 +55,7 @@ final class FreshRSS_dotNotation_Util*/public static function getString($array, ?string $key): ?string {$result = self::get($array, $key, null);- return is_string($result) ? $result : null;+ return is_string($result) || is_bool($result) || is_float($result) || is_int($result) ? (string)$result : null;}/**