Skip to content

Commit

Permalink
fix operator that got reverted to != when resolving merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
osma committed Apr 23, 2019
1 parent 83091fc commit bcbd9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() : "???";
}
Expand Down

0 comments on commit bcbd9b2

Please sign in to comment.