mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +00:00
init $oldattributes in order to prevent php warnings
This commit is contained in:
parent
e0995e362c
commit
e6b9b15605
|
@ -70,6 +70,7 @@ $oldcomment = $folder->getComment();
|
||||||
* 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($folder->getAttributes() as $ai=>$aa)
|
foreach($folder->getAttributes() as $ai=>$aa)
|
||||||
$oldattributes[$ai] = clone $aa;
|
$oldattributes[$ai] = clone $aa;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user