[TASK] Avoid notices

This commit is contained in:
Georg Ringer 2023-07-21 16:51:17 +02:00
parent 9e153cf85f
commit 6182f0bdbc

View file

@ -175,18 +175,18 @@ class FrontendEditPanel
</form>';
// Wrap the panel
if ($conf['innerWrap']) {
if ($conf['innerWrap'] ?? false) {
$panel = $this->cObj->wrap($panel, $conf['innerWrap']);
}
if ($conf['innerWrap.']) {
if ($conf['innerWrap.'] ?? false) {
$panel = $this->cObj->stdWrap($panel, $conf['innerWrap.']);
}
// Wrap the complete panel
if ($conf['outerWrap']) {
if ($conf['outerWrap'] ?? false) {
$panel = $this->cObj->wrap($panel, $conf['outerWrap']);
}
if ($conf['outerWrap.']) {
if ($conf['outerWrap.'] ?? false) {
$panel = $this->cObj->stdWrap($panel, $conf['outerWrap.']);
}
if ($conf['printBeforeContent'] ?? false) {