diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 93f1326b1..4fac39262 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -1016,12 +1016,15 @@ class e107plugin case 'add': foreach ($var as $tab) { + + $tab = str_replace("TYPE=MyISAM","ENGINE=MyISAM",$tab); if(!preg_match("/MyISAM.*CHARSET ?= ?utf8/i",$tab)) { $tab = str_replace("MyISAM", "MyISAM DEFAULT CHARSET=utf8", $tab); } + $mes->addDebug($tab); if (false === $sql->db_Query($tab)) {