Bug #91304 ยป fixCropVariantCollectionCreateIteration.patch
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'];
|