Fix deprecation warning on export page "implode(): Passing glue string after array is deprecated. Swap the parameters"
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
f8412ea633
commit
e68d0d6aab
@ -589,7 +589,7 @@ class Export
|
|||||||
string $separate_files
|
string $separate_files
|
||||||
): void {
|
): void {
|
||||||
if (! empty($db_select)) {
|
if (! empty($db_select)) {
|
||||||
$tmp_select = implode($db_select, '|');
|
$tmp_select = implode('|', $db_select);
|
||||||
$tmp_select = '|' . $tmp_select . '|';
|
$tmp_select = '|' . $tmp_select . '|';
|
||||||
}
|
}
|
||||||
// Walk over databases
|
// Walk over databases
|
||||||
|
|||||||
@ -1435,7 +1435,7 @@ class Routines
|
|||||||
// Generate output
|
// Generate output
|
||||||
if ($outcome) {
|
if ($outcome) {
|
||||||
// Pass the SQL queries through the "pretty printer"
|
// Pass the SQL queries through the "pretty printer"
|
||||||
$output = Util::formatSql(implode($queries, "\n"));
|
$output = Util::formatSql(implode("\n", $queries));
|
||||||
|
|
||||||
// Display results
|
// Display results
|
||||||
$output .= "<fieldset><legend>";
|
$output .= "<fieldset><legend>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user