From e6b9b15605aa20312102924578368c70e44a8b0e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 27 Jun 2019 14:19:24 +0200 Subject: [PATCH] init $oldattributes in order to prevent php warnings --- op/op.EditFolder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/op/op.EditFolder.php b/op/op.EditFolder.php index 5ced89a82..c2f2afc57 100644 --- a/op/op.EditFolder.php +++ b/op/op.EditFolder.php @@ -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;