From 4f6df3336e8a437ca16b67145a561908e4c3a402 Mon Sep 17 00:00:00 2001 From: Oldperl <44996956+oldperl@users.noreply.github.com> Date: Sun, 22 Jul 2018 18:16:48 +0000 Subject: [PATCH] fixed FS#184 - property cache now returns correct values --- conlite/classes/class.properties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conlite/classes/class.properties.php b/conlite/classes/class.properties.php index b99b5dc..fe967d0 100644 --- a/conlite/classes/class.properties.php +++ b/conlite/classes/class.properties.php @@ -168,7 +168,7 @@ class PropertyCollection extends ItemCollection $name = Contenido_Security::escapeDB($name, null); if($mValue = cPropertyCache::getProp($itemtype, $itemid, $type, $name)) { - return (string) $mValue; + return $mValue; } if (isset($this->client)) {