init $oldattributes in order to prevent php warnings

This commit is contained in:
Uwe Steinmann 2019-06-27 14:19:24 +02:00
parent e0995e362c
commit e6b9b15605

View File

@ -70,6 +70,7 @@ $oldcomment = $folder->getComment();
* will just update the old attribute object in array attributes[] and hence
* also update the old value
*/
$oldattributes = array();
foreach($folder->getAttributes() as $ai=>$aa)
$oldattributes[$ai] = clone $aa;