diff options
Diffstat (limited to 'core/API/ApiRenderer.php')
-rw-r--r-- | core/API/ApiRenderer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/API/ApiRenderer.php b/core/API/ApiRenderer.php index cfc851b748..6e665a184c 100644 --- a/core/API/ApiRenderer.php +++ b/core/API/ApiRenderer.php @@ -120,7 +120,7 @@ abstract class ApiRenderer */ public static function factory($format, $request) { - if (Common::mb_strtolower($format) === 'json2') { + if (mb_strtolower($format) === 'json2') { $format = 'json'; } $formatToCheck = '\\' . ucfirst(strtolower($format)); |