diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 85b0153e4..6b839ecea 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -1103,6 +1103,7 @@ class e107plugin { $tab = str_replace("TYPE=MyISAM","ENGINE=MyISAM",$tab); + $tab = str_replace("IF NOT EXISTS", "", $tab); if(!preg_match("/MyISAM.*CHARSET ?= ?utf8/i",$tab)) {