mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
Merge branch 'develop' of https://github.com/getgrav/grav into 1.5
# Conflicts: # CHANGELOG.md # system/defines.php
This commit is contained in:
@@ -55,7 +55,9 @@ abstract class AbstractMedia extends Getters implements MediaCollectionInterface
|
||||
public function offsetGet($offset)
|
||||
{
|
||||
$object = parent::offsetGet($offset);
|
||||
$object = $object ? clone($object) : null;
|
||||
|
||||
// It would be nice if previous image modification would not affect the later ones.
|
||||
//$object = $object ? clone($object) : null;
|
||||
|
||||
return $object;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user