From 92b7a15275ca1ba2ee7297462afef8fd74c0640d Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Wed, 20 May 2015 13:26:02 +0700 Subject: [PATCH] fix property --- .../modules/property/entity/Property.entity.class.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/classes/modules/property/entity/Property.entity.class.php b/application/classes/modules/property/entity/Property.entity.class.php index b1f93ffa..5c87a70c 100644 --- a/application/classes/modules/property/entity/Property.entity.class.php +++ b/application/classes/modules/property/entity/Property.entity.class.php @@ -335,4 +335,11 @@ class ModuleProperty_EntityProperty extends EntityORM } return $oValue->isEmpty(); } + + public function getValueTypeObject() + { + if ($oValue = $this->getValue()) { + return $oValue->getValueTypeObject(); + } + } } \ No newline at end of file