diff --git a/module/install/model.php b/module/install/model.php index f01e8c9b8f..6edc954352 100644 --- a/module/install/model.php +++ b/module/install/model.php @@ -372,7 +372,7 @@ class installModel extends model } /* Skip sql that is note. */ - if(preg_match('/^--|^#|^\/\*/', $table)) continue; + if(strpos($table, '--') === 0) continue; $table = str_replace('`zt_', $this->config->db->name . '.`zt_', $table); $table = str_replace('zt_', $this->config->db->prefix, $table);