mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Minor: update set_error message
This commit is contained in:
parent
669efe4d8c
commit
78e56ecf88
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ class Upload
|
||||||
{
|
{
|
||||||
if (!empty($object->mimes)) {
|
if (!empty($object->mimes)) {
|
||||||
if (!in_array($object->file['mime'], $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…
Reference in a new issue