diff --git a/model/Model.php b/model/Model.php index fd1503aae..2bab0e7e2 100644 --- a/model/Model.php +++ b/model/Model.php @@ -255,7 +255,7 @@ public function searchConcepts($params) // if uri is a external vocab uri that is included in the current vocab $realvoc = $this->guessVocabularyFromURI($hit['uri'], $voc !== null ? $voc->getId() : null); - if ($realvoc != $hitvoc) { + if ($realvoc !== $hitvoc) { unset($hit['localname']); $hit['exvocab'] = ($realvoc !== null) ? $realvoc->getId() : "???"; }