From e0995e362c73e8fd3c5201b012fc53c689a74110 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 27 Jun 2019 14:18:58 +0200 Subject: [PATCH] initialize $fieldwrap in order to prevent php warnings --- views/bootstrap/class.UpdateDocument.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.UpdateDocument.php b/views/bootstrap/class.UpdateDocument.php index 80e5366dc..a75e27de6 100644 --- a/views/bootstrap/class.UpdateDocument.php +++ b/views/bootstrap/class.UpdateDocument.php @@ -447,7 +447,7 @@ console.log(element); } } } - $fieldwrap = array(); + $fieldwrap = array('', ''); if($tmp) { $fieldwrap = array('', $this->getSelectPresetButtonHtml("GrpReviewers", $tmp)); } @@ -597,7 +597,7 @@ console.log(element); } } } - $fieldwrap = array(); + $fieldwrap = array('', ''); if($tmp) { $fieldwrap = array('', $this->getSelectPresetButtonHtml("GrpApprovers", $tmp)); }