]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Core/Config/ValueObject/Cache.php
authorPhilipp <admin+Github@philipp.info>
Fri, 6 Jan 2023 11:43:04 +0000 (12:43 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 11:43:04 +0000 (12:43 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Core/Config/ValueObject/Cache.php

index ca76bb4eddbea8364eb30382266bbb16c8b64ad2..2082511641263ddf4357cd79bc14a8f3d8785963 100644 (file)
@@ -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 {