Skip to content

Commit

Permalink
Upgrade for PHP 7.2 (#18)
Browse files Browse the repository at this point in the history
* Upgrade for PHP 7.2

* add php version flexibility

* revert removal of versions
  • Loading branch information
tsongloong committed Mar 3, 2020
1 parent acf4629 commit 1367011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Edexml.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Edexml extends AppModel {
'last' => true
],
'mimeType' => [
'rule' => ['mimeType', ['application/xml']],
'rule' => ['mimeType', ['application/xml', 'text/xml']],
'message' => 'Must be of type `xml`'
],
'edexml' => [
Expand Down

0 comments on commit 1367011

Please sign in to comment.