diff --git a/engine/Shopware/Models/Media/Media.php b/engine/Shopware/Models/Media/Media.php index b72c43895f4..d5b7df9f562 100644 --- a/engine/Shopware/Models/Media/Media.php +++ b/engine/Shopware/Models/Media/Media.php @@ -2295,9 +2295,9 @@ private function setFileInfo() } // make sure that the name don't contains the file extension. - $name = str_replace('.' . $extension, '', $name); + $name = str_ireplace('.' . $extension, '', $name); if ($extension === 'jpeg') { - $name = str_replace('.jpg', '', $name); + $name = str_ireplace('.jpg', '', $name); } //set the file type using the type mapping