From 6a3278c16fce8f4a4aaa9dd4ba35d43ff21e56fe Mon Sep 17 00:00:00 2001 From: kouralex <1723419+kouralex@users.noreply.github.com> Date: Wed, 11 Apr 2018 10:52:14 +0300 Subject: [PATCH] fix constructor call due to previously done refactoring(?) --- model/ConceptPropertyValue.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/ConceptPropertyValue.php b/model/ConceptPropertyValue.php index d606ddf83..49daa5784 100644 --- a/model/ConceptPropertyValue.php +++ b/model/ConceptPropertyValue.php @@ -140,8 +140,8 @@ public function getReifiedPropertyValues() { foreach($props as $prop) { $prop = (EasyRdf\RdfNamespace::shorten($prop) !== null) ? EasyRdf\RdfNamespace::shorten($prop) : $prop; foreach ($this->resource->allLiterals($prop) as $val) { - if ($prop !== 'rdf:value' && $this->resource->get($prop)) { // shown elsewhere - $ret[gettext($prop)] = new ConceptPropertyValueLiteral($this->resource->get($prop), $prop); + if ($prop !== 'rdf:value') { // shown elsewhere + $ret[gettext($prop)] = new ConceptPropertyValueLiteral($this->model, $this->vocab, $this->resource, $val, $prop); } } foreach ($this->resource->allResources($prop) as $val) {