diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php index 8a85f47a5..9e3ad1882 100644 --- a/e107_admin/plugin.php +++ b/e107_admin/plugin.php @@ -1498,6 +1498,8 @@ class pluginBuilder var $pluginName = ''; var $special = array(); var $tableCount = 0; + var $tableList = array(); + var $createFiles = false; function __construct() { @@ -1508,6 +1510,11 @@ class pluginBuilder { $this->pluginName = $_GET['newplugin']; } + + if(vartrue($_GET['createFiles'])) + { + $this->createFiles = true; + } if(vartrue($_POST['step']) == 3) @@ -1641,7 +1648,7 @@ class pluginBuilder $ret = $dv->getTables($data); } - $text = $frm->open('newplugin-step3','post', e_SELF.'?mode=create&newplugin='.$newplug.'&step=3'); + $text = $frm->open('newplugin-step3','post', e_SELF.'?mode=create&newplugin='.$newplug.'&createFiles='.$this->createFiles.'&step=3'); $text .= "