mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 22:47:19 +00:00
init $oldattributes
This commit is contained in:
parent
ccd5bb7d41
commit
f263ec1ac2
|
@ -63,6 +63,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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user