From: <sk...@us...> - 2008-10-27 13:56:53
|
Revision: 1446 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1446&view=rev Author: sknappe Date: 2008-10-27 13:56:41 +0000 (Mon, 27 Oct 2008) Log Message: ----------- bugfix Modified Paths: -------------- trunk/src/dbpedia-navigator/helper_functions.php Modified: trunk/src/dbpedia-navigator/helper_functions.php =================================================================== --- trunk/src/dbpedia-navigator/helper_functions.php 2008-10-27 13:51:53 UTC (rev 1445) +++ trunk/src/dbpedia-navigator/helper_functions.php 2008-10-27 13:56:41 UTC (rev 1446) @@ -398,7 +398,7 @@ $string="<ul>"; for($i=0; $i<count($ar); $i++) { if ($classSystem=="YAGO") $prefix = 'http://dbpedia.org/class/yago/'; - else if ($classSystem=="DBpedia") $prefix='http://dbpedia.org/ontology/' + else if ($classSystem=="DBpedia") $prefix='http://dbpedia.org/ontology/'; if(substr($ar[$i]['value'],0,30)!=$prefix) continue; $query="SELECT label FROM categories WHERE category='".$ar[$i]['value']."' LIMIT 1"; $res=$databaseConnection->query($query); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |