From: <sk...@us...> - 2008-01-28 15:59:42
|
Revision: 438 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=438&view=rev Author: sknappe Date: 2008-01-28 07:59:22 -0800 (Mon, 28 Jan 2008) Log Message: ----------- fixed bug with interests Modified Paths: -------------- trunk/src/dbpedia-navigator/ajaxfunctions.php Modified: trunk/src/dbpedia-navigator/ajaxfunctions.php =================================================================== --- trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-28 15:35:28 UTC (rev 437) +++ trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-28 15:59:22 UTC (rev 438) @@ -126,12 +126,12 @@ //Add Positives to Session if (!isset($_SESSION['positive'])){ - $array=array($subject => "http://dbpedia.org/resource/".str_replace(" ","_",$subject)); + $array=array("http://dbpedia.org/resource/".str_replace(" ","_",$subject)) => "http://dbpedia.org/resource/".str_replace(" ","_",$subject)); $_SESSION['positive']=$array; } else{ $array=$_SESSION['positive']; - $array[$subject]="http://dbpedia.org/resource/".str_replace(" ","_",$subject); + $array["http://dbpedia.org/resource/".str_replace(" ","_",$subject)]="http://dbpedia.org/resource/".str_replace(" ","_",$subject); $_SESSION['positive']=$array; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |