From: Philipp Date: Fri, 6 Jan 2023 11:43:04 +0000 (+0100) Subject: Update src/Core/Config/ValueObject/Cache.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05048d4abf93169c5e0c3bc464a9b8548563d4f7;p=friendica.git Update src/Core/Config/ValueObject/Cache.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Core/Config/ValueObject/Cache.php b/src/Core/Config/ValueObject/Cache.php index ca76bb4edd..2082511641 100644 --- a/src/Core/Config/ValueObject/Cache.php +++ b/src/Core/Config/ValueObject/Cache.php @@ -182,7 +182,7 @@ class Cache if ($this->hidePasswordOutput && $key == 'password' && is_string($value)) { - $this->setCatKeyValueSource($cat, $key, new HiddenString((string)$value), $source); + $this->setCatKeyValueSource($cat, $key, new HiddenString($value), $source); } else if (is_string($value)) { $this->setCatKeyValueSource($cat, $key, self::toConfigValue($value), $source); } else {