Skip to content

Commit 0d8e0d5

Browse files
committed
MAGETWO-89051: Absorb image optimization from 2.1 into 2.3
1 parent 341a495 commit 0d8e0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/MediaStorage/Service/ImageResize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private function getUniqImageIndex(array $imageData): string
219219
{
220220
ksort($imageData);
221221
unset($imageData['type']);
222-
return md5(serialize($imageData));
222+
return md5(json_encode($imageData));
223223
}
224224

225225
/**

0 commit comments

Comments
 (0)