Skip to content

Commit

Permalink
Merge branch '16.0' of [email protected]:Dolibarr/dolibarr.git into 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 29, 2024
2 parents 8b4dcb1 + 6a4ee18 commit 1987ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/utils.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ public function dumpDatabase($compression = 'none', $type = 'auto', $usedefault
} elseif ($compression == 'zstd') {
fclose($handle);
}
if ($ok && preg_match('/^-- (MySql|MariaDB)/i', $errormsg)) { // No error
if ($ok && preg_match('/^-- (MySql|MariaDB)/i', $errormsg) || preg_match('/^\/\*M?!999999/', $errormsg)) { // Start of file is ok, NOT an error
$errormsg = '';
} else {
// Renommer fichier sortie en fichier erreur
Expand Down

0 comments on commit 1987ea2

Please sign in to comment.