From 908152930aef1c0c396468be167211e1a9374858 Mon Sep 17 00:00:00 2001 From: oldperl Date: Sun, 22 Jul 2018 18:16:48 +0000 Subject: [PATCH] fixed FS#184 - property cache now returns correct values --- trunk/conlite/classes/class.properties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/conlite/classes/class.properties.php b/trunk/conlite/classes/class.properties.php index b99b5dc..fe967d0 100644 --- a/trunk/conlite/classes/class.properties.php +++ b/trunk/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)) {