1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Minor: update set_error message

This commit is contained in:
billz 2022-01-01 00:35:15 +00:00
parent 669efe4d8c
commit 78e56ecf88

View File

@ -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.');
}
}
}