diff --git a/setup/tools/clisetup/update.func.php b/setup/tools/clisetup/update.func.php index 4d6a4c1e..5958e088 100644 --- a/setup/tools/clisetup/update.func.php +++ b/setup/tools/clisetup/update.func.php @@ -63,8 +63,8 @@ function update() sleep(1); - $sql = trim($sql) ? array_unique(explode(' ', trim($sql))) : []; - $build = trim($build) ? array_unique(explode(' ', trim($build))) : []; + $sql = trim($sql) ? array_unique(explode(' ', trim(preg_replace('/[^a-z]+/i', ' ', $sql)))) : []; + $build = trim($build) ? array_unique(explode(' ', trim(preg_replace('/[^a-z]+/i', ' ', $build)))) : []; if ($sql) CLI::write('The following table(s) require syncing: '.implode(', ', $sql));