Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-02-12 13:52:03 +0300
committerMichal Čihař <michal@cihar.com>2016-02-12 13:52:37 +0300
commit40edb83b3cdc1d018bda9215fad7009362c456d7 (patch)
tree1eab0bd5bdf044944d9fbde4281d90e9663e08c1 /tbl_replace.php
parentc4fedf7b1925383d0f641b60ce63b2ef3aa7381b (diff)
Correctly store and report file upload errors
Fixes #11946 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tbl_replace.php')
-rw-r--r--tbl_replace.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_replace.php b/tbl_replace.php
index a81f9ccb02..217652ffc7 100644
--- a/tbl_replace.php
+++ b/tbl_replace.php
@@ -247,7 +247,7 @@ foreach ($loop_array as $rownumber => $where_clause) {
}
if ($file_to_insert->isError()) {
- $message .= $file_to_insert->getError();
+ $insert_errors[] = $file_to_insert->getError();
}
// delete $file_to_insert temporary variable
$file_to_insert->cleanUp();