Skip to content

Commit

Permalink
PG Packages fix implode
Browse files Browse the repository at this point in the history
Signed-off-by: albertlast [email protected]
  • Loading branch information
albertlast committed Nov 1, 2020
1 parent 7ea6893 commit ee961d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/DbPackages-postgresql.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ function smf_db_create_table($table_name, $columns, $indexes = array(), $paramet

$smcFunc['db_query']('', '
INSERT INTO ' . $table_name . '('
. implode($same_col, ',') .
. implode(',', $same_col) .
')
SELECT ' . implode($same_col, ',') . '
SELECT ' . implode(',', $same_col) . '
FROM ' . $table_name . '_old',
array()
);
Expand Down

0 comments on commit ee961d7

Please sign in to comment.