Mercurial > hg > extraction-interface
diff controllers/extractapp.php @ 89:e681d693240e extractapp
new: generated regex to SmartRegex
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 03 Jun 2015 16:54:09 +0200 |
parents | fb5049fc5dd7 |
children | 3e11a9c5a672 |
line wrap: on
line diff
--- a/controllers/extractapp.php Wed Jun 03 10:49:00 2015 +0200 +++ b/controllers/extractapp.php Wed Jun 03 16:54:09 2015 +0200 @@ -162,6 +162,8 @@ if (isset($this->postdata['func'])) { $func = $this->postdata['func']; + } else { + $func = ""; } switch ($func) { case 'exportFromExtractionInterface': @@ -187,6 +189,8 @@ $viewmodel = $this->viewmodel; if (isset($this->postdata['func'])) { $func = $this->postdata['func']; + } else { + $func = ""; } switch ($func) { case 'AddNewList': @@ -211,6 +215,8 @@ $viewmodel = $this->viewmodel; if (isset($this->postdata['func'])) { $func = $this->postdata['func']; + } else { + $func = ""; } switch ($func) { case 'NewTagElement': @@ -238,6 +244,8 @@ $viewmodel = $this->viewmodel; if (isset($this->postdata['func'])) { $func = $this->postdata['func']; + } else { + $func = ""; } switch ($func) { case 'Update':