diff options
-rw-r--r-- | phpBB/admin/admin_db_utilities.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/admin/admin_db_utilities.php b/phpBB/admin/admin_db_utilities.php index 179109e89e..595d4fe6d7 100644 --- a/phpBB/admin/admin_db_utilities.php +++ b/phpBB/admin/admin_db_utilities.php @@ -225,7 +225,7 @@ function get_table_def_postgresql($table, $crlf) $schema_create .= ' NOT NULL'; } - $schema_create .= ", $crlf"; + $schema_create .= ",$crlf"; } // @@ -278,7 +278,7 @@ function get_table_def_postgresql($table, $crlf) { while(list($idx_name, $props) = each($index_rows)) { - $props['column_names'] = ereg_replace(", $", "" , $props['column_name']); + $props['column_names'] = ereg_replace(", $", "" , $props['column_names']); $index_create .= 'CREATE ' . $props['unique'] . " INDEX $idx_name ON $table (" . $props['column_names'] . ");$crlf"; } } |