diff options
author | Michal Čihař <michal@cihar.com> | 2016-02-12 13:52:03 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-02-12 13:52:37 +0300 |
commit | 40edb83b3cdc1d018bda9215fad7009362c456d7 (patch) | |
tree | 1eab0bd5bdf044944d9fbde4281d90e9663e08c1 /tbl_replace.php | |
parent | c4fedf7b1925383d0f641b60ce63b2ef3aa7381b (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.php | 2 |
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(); |