Skip to content

Commit

Permalink
fix constructor call due to previously done refactoring(?)
Browse files Browse the repository at this point in the history
  • Loading branch information
kouralex committed Apr 11, 2018
1 parent de27112 commit 6a3278c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/ConceptPropertyValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6a3278c

Please sign in to comment.