Browse Source

Minor: update set_error message

pull/1087/head
billz 3 weeks ago
parent
commit
78e56ecf88
  1. 2
      app/lib/uploader.php

2
app/lib/uploader.php

@ -338,7 +338,7 @@ class Upload
{
if (!empty($object->mimes)) {
if (!in_array($object->file['mime'], $object->mimes)) {
$object->set_error('Mime type not allowed.');
$object->set_error('MIME type not allowed.');
}
}
}

Loading…
Cancel
Save