initialize $fieldwrap in order to prevent php warnings

This commit is contained in:
Uwe Steinmann 2019-06-27 14:18:58 +02:00
parent cf6b852233
commit e0995e362c

View File

@ -447,7 +447,7 @@ console.log(element);
} }
} }
} }
$fieldwrap = array(); $fieldwrap = array('', '');
if($tmp) { if($tmp) {
$fieldwrap = array('', $this->getSelectPresetButtonHtml("GrpReviewers", $tmp)); $fieldwrap = array('', $this->getSelectPresetButtonHtml("GrpReviewers", $tmp));
} }
@ -597,7 +597,7 @@ console.log(element);
} }
} }
} }
$fieldwrap = array(); $fieldwrap = array('', '');
if($tmp) { if($tmp) {
$fieldwrap = array('', $this->getSelectPresetButtonHtml("GrpApprovers", $tmp)); $fieldwrap = array('', $this->getSelectPresetButtonHtml("GrpApprovers", $tmp));
} }