diff --git a/app/Controllers/Api/Images/Upload.php b/app/Controllers/Api/Images/Upload.php index f7591e1..b63208c 100644 --- a/app/Controllers/Api/Images/Upload.php +++ b/app/Controllers/Api/Images/Upload.php @@ -105,7 +105,7 @@ class Upload 'type' => 'none', ) ); - } else if (explode($type, '/')[0] === 'image') { + } else if (explode('/', $type)[0] === 'image') { $exif = new EXIF($_FILES['image']['tmp_name']);