changeset 84:ecc4b22e9b05 extractapp

Bug fixed: missing section id variable in export table from LGservice.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 23 Apr 2015 17:06:03 +0200
parents 7b05275b7a70
children 966a36752c34
files config/config.php models/extractapp.php
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/config/config.php	Thu Apr 23 15:26:48 2015 +0200
+++ b/config/config.php	Thu Apr 23 17:06:03 2015 +0200
@@ -14,7 +14,7 @@
 		global $AT_LOCAL, $mysql_database, $mysql_server, $mysql_user, $mysql_password, $server_host, $lgserver_url,
 				$systemNAME, $system_root_url;
 
-		$AT_LOCAL = false;
+		$AT_LOCAL = true;
 
 		if (!$AT_LOCAL) {
 			// host at localgazetteers-dev server
--- a/models/extractapp.php	Thu Apr 23 15:26:48 2015 +0200
+++ b/models/extractapp.php	Thu Apr 23 17:06:03 2015 +0200
@@ -689,7 +689,7 @@
         if ($isFromFile) {
             $content = $this->lg_text;
             $topic = $this->topic;
-            $sectionId = $this->section_id;
+            $section_id = $this->section_id;
             $sectionName = $this->section_name;
             $bookId = $this->book_id;
             $bookName = $this->book_name;