From: <sk...@us...> - 2008-10-27 08:34:27
|
Revision: 1438 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1438&view=rev Author: sknappe Date: 2008-10-27 08:33:26 +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 08:31:27 UTC (rev 1437) +++ trunk/src/dbpedia-navigator/helper_functions.php 2008-10-27 08:33:26 UTC (rev 1438) @@ -397,7 +397,7 @@ $string="<ul>"; for($i=0; $i<count($ar); $i++) { - if ($classSystem=="YAGO") $prefix = 'http://dbpedia.org/class/yago/'; + if ($settings->classSystem=="YAGO") $prefix = 'http://dbpedia.org/class/yago/'; 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. |