Fredrick Brennan 7 years ago
parent
commit
ac8f15f0f2
  1. 2
      post.php

2
post.php

@ -655,7 +655,7 @@ if (isset($_POST['delete'])) {
if ($post['has_file']) {
$i = 0;
foreach ($_FILES as $key => $file) {
if ($file['error'] > 0) {
if (!in_array($file['error'], array(UPLOAD_ERR_NO_FILE, UPLOAD_ERR_OK))) {
error(sprintf3($config['error']['phpfileserror'], array(
'index' => $i+1,
'code' => $file['error']

Loading…
Cancel
Save