diff options
author | Deven Bansod <devenbansod.bits@gmail.com> | 2016-10-05 09:06:04 +0300 |
---|---|---|
committer | Deven Bansod <devenbansod.bits@gmail.com> | 2016-10-05 09:06:04 +0300 |
commit | f6d2804aba1d1dbbb0dd8cfac031bc16f30bc936 (patch) | |
tree | b8bceb502c5164dcf1617e27397511a610693456 /prefs_manage.php | |
parent | 262eb1acf7280fbbd2d48697ce2e2731639f07ec (diff) | |
parent | 889cd31618c86f7f30fcfe5f8e501f94e5e41a3c (diff) |
Merge branch 'QA_4_6'
Diffstat (limited to 'prefs_manage.php')
-rw-r--r-- | prefs_manage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prefs_manage.php b/prefs_manage.php index 575346ed53..3bd95a3e08 100644 --- a/prefs_manage.php +++ b/prefs_manage.php @@ -81,9 +81,9 @@ if (isset($_POST['submit_export']) $tmp_subdir = (PMA_IS_WINDOWS ? '.\\tmp\\' : 'tmp/'); if (@is_writable($tmp_subdir)) { $import_file_new = tempnam($tmp_subdir, 'prefs'); + $file_to_unlink = $import_file_new; if (move_uploaded_file($import_file, $import_file_new)) { $import_file = $import_file_new; - $file_to_unlink = $import_file_new; } } } |