Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2021-12-04 17:51:33 +01:00
commit d4f4d5cfcd

View File

@ -68,6 +68,7 @@ if (!is_object($version)) {
* will just update the old attribute object in array attributes[] and hence * will just update the old attribute object in array attributes[] and hence
* also update the old value * also update the old value
*/ */
$oldattributes = array();
foreach($version->getAttributes() as $ai=>$aa) foreach($version->getAttributes() as $ai=>$aa)
$oldattributes[$ai] = clone $aa; $oldattributes[$ai] = clone $aa;