Project

General

Profile

Bug #91304 ยป fixCropVariantCollectionCreateIteration.patch

Georgi Mateev, 2020-05-05 10:29

View differences:

web/ay.dev/web/typo3/sysext/core/Classes/Imaging/ImageManipulation/CropVariantCollection.php (date 1588667222834)
foreach ($tcaConfig as $id => &$cropVariantConfig) {
if (!isset($persistedCollectionConfig[$id])) {
$id = key($persistedCollectionConfig);
next($persistedCollectionConfig);
}
if (isset($persistedCollectionConfig[$id]['cropArea'])) {
$cropVariantConfig['cropArea'] = $persistedCollectionConfig[$id]['cropArea'];
    (1-1/1)