Skip to content

Commit

Permalink
Trivial - minor change to wording in message.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Horne committed Oct 5, 2017
1 parent d477b58 commit 66e96e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Xerte/Validate/FileMimeType.php
Expand Up @@ -46,7 +46,7 @@ public function isValid($file_name) {
if(in_array($mime_type, self::$allowableMimeTypeList)) {
return true;
}
$this->messages['INVALID_MIME_TYPE'] = "$mime_type is not in list of allowable types";
$this->messages['INVALID_MIME_TYPE'] = "MIME type $mime_type is not an allowed type";
}
else {
$this->messages['FILE_NOT_FOUND'] = "File not found - $file_name";
Expand Down

0 comments on commit 66e96e7

Please sign in to comment.