From: <sk...@us...> - 2008-09-30 10:30:22
|
Revision: 1316 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1316&view=rev Author: sknappe Date: 2008-09-30 10:30:16 +0000 (Tue, 30 Sep 2008) Log Message: ----------- bugfix Modified Paths: -------------- trunk/src/dbpedia-navigator/ajax_get_article.php Modified: trunk/src/dbpedia-navigator/ajax_get_article.php =================================================================== --- trunk/src/dbpedia-navigator/ajax_get_article.php 2008-09-30 09:58:53 UTC (rev 1315) +++ trunk/src/dbpedia-navigator/ajax_get_article.php 2008-09-30 10:30:16 UTC (rev 1316) @@ -307,7 +307,7 @@ session_start(); //store article in session, to navigate between last 5 articles quickly - $contentArray=array('content' => $content,'subject' => $artTitle,'uri' => $uri); + $contentArray=array('content' => $content,'subject' => $artTitle,'uri' => $uri,'lat'=>$lat,'long'=>$long); if (!isset($_SESSION['nextArticle'])){ $_SESSION['nextArticle']=0; $_SESSION['articles']=array(); @@ -342,6 +342,8 @@ //Article is in session $content=$_SESSION['articles'][$fromCache]['content']; $artTitle=$_SESSION['articles'][$fromCache]['subject']; + $lat=$_SESSION['articles'][$fromCache]['lat']; + $long=$_SESSION['articles'][$fromCache]['long']; } //Build lastArticles This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |