Skip to content

Commit

Permalink
Update FormatFactory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
em92 authored Feb 9, 2021
1 parent 71474fc commit cd4f674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FormatFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function getFormatNames(){
* valid, null otherwise.
*/
protected function sanitizeFormatName($name) {
$name = ucfirst($name);
$name = ucfirst(strtolower($name));

if(is_string($name)) {

Expand Down

0 comments on commit cd4f674

Please sign in to comment.