Merge branch 'develop' of https://github.com/getgrav/grav into 1.5

# Conflicts:
#	CHANGELOG.md
#	system/defines.php
This commit is contained in:
Matias Griese
2018-06-20 10:51:52 +03:00

View File

@@ -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;
}