Skip to content

Commit

Permalink
make comparison unambiguous #3
Browse files Browse the repository at this point in the history
  • Loading branch information
osma committed Oct 7, 2015
1 parent 8f604b5 commit 781c9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/Concept.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public function getProperties()
}

foreach ($long_uris as &$prop) {
if (EasyRdf_Namespace::shorten($prop)) // shortening property labels if possible
if (EasyRdf_Namespace::shorten($prop) !== null) // shortening property labels if possible
$prop = $sprop = EasyRdf_Namespace::shorten($prop);
else
$sprop = "<$prop>"; // EasyRdf requires full URIs to be in angle brackets
Expand Down

0 comments on commit 781c9b1

Please sign in to comment.