diff --git a/crmeb/public/install/index.php b/crmeb/public/install/index.php index 6c10a822b..bc2bd17ce 100755 --- a/crmeb/public/install/index.php +++ b/crmeb/public/install/index.php @@ -293,7 +293,7 @@ switch ($step) { $sql = trim($sqlFormat[$i]); if (strstr($sql, 'CREATE TABLE')) { preg_match('/CREATE TABLE (IF NOT EXISTS)? `eb_([^ ]*)`/is', $sql, $matches); - mysqli_query($conn, "DROP TABLE IF EXISTS `$matches[2]"); + mysqli_query($conn, "DROP TABLE IF EXISTS `$matches[2]`"); $sql = str_replace('`eb_', '`' . $dbPrefix, $sql);//替换表前缀 $ret = mysqli_query($conn, $sql); if ($ret) {