From d369e807fb1c70338806a5de81b9cc86982204b1 Mon Sep 17 00:00:00 2001 From: tenma Date: Thu, 12 Mar 2020 17:44:50 +0000 Subject: [PATCH] [DATABASE] Fix deprecated call to implode() --- lib/database/schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/database/schema.php b/lib/database/schema.php index 6c6ac4e6a6..186b1f755a 100644 --- a/lib/database/schema.php +++ b/lib/database/schema.php @@ -167,7 +167,7 @@ class Schema // Wrap the CREATE TABLE around the main body chunks... $statements = []; $statements[] = $this->startCreateTable($name, $def) . "\n" . - implode($sql, ",\n") . "\n" . + implode(",\n", $sql) . "\n" . $this->endCreateTable($name, $def); // Multi-value indexes are advisory and for best portability