Skip to content

Commit

Permalink
QA: Syntax Error when changing the tables CHARSET
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness authored Nov 19, 2024
1 parent 850dbdd commit 927da7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,7 @@ function db_table_create($table, $data, $log = true, $db_conn = false) {

if (db_execute($sql, $log, $db_conn)) {
if (isset($data['charset'])) {
db_execute("ALLTER TABLE `$table` CHARSET = " . $data['charset']);
db_execute("ALTER TABLE `$table` CHARSET = " . $data['charset']);
}

if (isset($data['collate'])) {
Expand Down

0 comments on commit 927da7e

Please sign in to comment.