mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
init $oldattributes with empty array
This commit is contained in:
parent
8a4450295a
commit
e8c1c71018
|
@ -113,6 +113,7 @@ $oldexpires = $document->getExpires();
|
|||
* will just update the old attribute object in array attributes[] and hence
|
||||
* also update the old value
|
||||
*/
|
||||
$oldattributes = array();
|
||||
foreach($document->getAttributes() as $ai=>$aa)
|
||||
$oldattributes[$ai] = clone $aa;
|
||||
//$oldattributes = $document->getAttributes();
|
||||
|
|
Loading…
Reference in New Issue
Block a user