bug #4080 Overwrite existing file not obeyed

This commit is contained in:
Marc Delisle 2013-09-08 07:16:59 -04:00
parent edcf5a031c
commit afb393816d
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,8 @@ phpMyAdmin - ChangeLog
4.0.7.0 (not yet released)
- bug #3993 Sorting in database overview with statistics doesn't work
- bug Handle the situation where PHP_SELF is not set
- bug Handle the situation where PHP_SELF is not set
- bug #4080 Overwrite existing file not obeyed
4.0.6.0 (2013-09-05)
- bug #4036 Call to undefined function mb_detect_encoding (clarify the doc)

View File

@ -502,7 +502,7 @@ if ($save_on_server) {
. preg_replace('@[/\\\\]@', '_', $filename);
unset($message);
if (file_exists($save_filename)
&& ((! $quick_export && empty($onserverover))
&& ((! $quick_export && empty($_REQUEST['onserverover']))
|| ($quick_export
&& $_REQUEST['quick_export_onserverover'] != 'saveitover'))
) {