From 4f7f5e4b1fd1077ad134860b32203810ef24c0ce Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 13 Jan 2021 16:21:03 +0100 Subject: Unified join to always use implode --- it_dbi_postgres.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_dbi_postgres.class') diff --git a/it_dbi_postgres.class b/it_dbi_postgres.class index 6ca4b50..385ac7e 100644 --- a/it_dbi_postgres.class +++ b/it_dbi_postgres.class @@ -135,7 +135,7 @@ function _query($query, $p) } while ($warning->next() && ++$checked < 20); if ($messages) - it::error(['title' => "Mysql warning: " . $messages[0], 'body' => "$query\n\n" . join("\n", $messages) . "\n"]); + it::error(['title' => "Mysql warning: " . $messages[0], 'body' => "$query\n\n" . implode("\n", $messages) . "\n"]); } */ -- cgit v1.2.3