diff develop/controllers/extractapp.php @ 17:82f8c6bd2b69

add new tag will based on the current topic_id, insert new element into (1)taglist table and (2)topic_tag_relation table
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Fri, 20 Feb 2015 17:57:02 +0100
parents fb948097de39
children f60969462226
line wrap: on
line diff
--- a/develop/controllers/extractapp.php	Fri Feb 20 16:39:08 2015 +0100
+++ b/develop/controllers/extractapp.php	Fri Feb 20 17:57:02 2015 +0100
@@ -118,7 +118,7 @@
                 $this->ReturnView($viewmodel->DeleteTag($this->postdata), true);
                 break;
             default:    // EditTaglist
-                $this->ReturnView($viewmodel->EditTaglist(), true);
+                $this->ReturnView($viewmodel->EditTaglist($this->postdata), true);
                 break;
         }
     }