diff --git a/htdocs/admin/tools/export.php b/htdocs/admin/tools/export.php index c9e4211842d3db2c5947c06f93b3fe70bdbf2ded..81708e53e31d0a7ecd91f43c7629bf3974bdf956 100644 --- a/htdocs/admin/tools/export.php +++ b/htdocs/admin/tools/export.php @@ -201,6 +201,7 @@ if ($what == 'mysql') while (!feof($handlein)) { $read = fgets($handlein); + if (preg_match('/'.preg_quote('Warning: Using a password').'/i', $read)) continue; fwrite($handle,$read); if (preg_match('/'.preg_quote('-- Dump completed').'/i',$read)) $ok=1; elseif (preg_match('/'.preg_quote('SET SQL_NOTES=@OLD_SQL_NOTES').'/i',$read)) $ok=1;