diff --git a/setup/tools/clisetup/update.func.php b/setup/tools/clisetup/update.func.php index d5c757d4..e94829bf 100644 --- a/setup/tools/clisetup/update.func.php +++ b/setup/tools/clisetup/update.func.php @@ -86,8 +86,8 @@ function update(?array &$sql = [], ?array &$build = []) : void sleep(1); - $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)))) : []; + $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));