diff models/extractapp.php @ 101:a264460c77ca extractapp

new: auto save and reload page after updating taglist.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 04 May 2016 15:22:11 +0200
parents c1bb174a22f3
children 6ba742b712b0
line wrap: on
line diff
--- a/models/extractapp.php	Mon May 02 15:47:03 2016 +0200
+++ b/models/extractapp.php	Wed May 04 15:22:11 2016 +0200
@@ -1339,7 +1339,7 @@
                 $name = $postdata['text'];
             }
 
-            $query1 = sprintf("INSERT INTO `Wordlist` (`name`) VALUES (%s,)",
+            $query1 = sprintf("INSERT INTO `Wordlist` (`name`) VALUES (%s)",
                             $this->GetSQLValueString($name, "text"));
                             //$this->GetSQLValueString($this->systemNAME, "text"));
             $result1 = mysql_query($query1);