From cd4f6742dab1c624874aeeaa7506f07d4d919132 Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Tue, 9 Feb 2021 18:10:04 +0500 Subject: [PATCH] Update FormatFactory.php --- lib/FormatFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/FormatFactory.php b/lib/FormatFactory.php index 017a19216a8..e2bba2fc577 100644 --- a/lib/FormatFactory.php +++ b/lib/FormatFactory.php @@ -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)) {