From 6aff09eaf78344017d829ecc7b5089a2ab9eb015 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Mon, 20 Jan 2020 11:16:07 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02708=20-=20Internal:=20Fix=20regression?= =?UTF-8?q?=20introduced=20with=20N=C2=B02313=20"Undefined=20index=20'pref?= =?UTF-8?q?ix'"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/webpage.class.inc.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/application/webpage.class.inc.php b/application/webpage.class.inc.php index 2b8a315e2..4dc2784ab 100644 --- a/application/webpage.class.inc.php +++ b/application/webpage.class.inc.php @@ -1583,6 +1583,15 @@ EOF { if (!$this->TabExists($sTabContainer, $sTabCode)) { + // Container + if (!array_key_exists($sTabContainer, $this->m_aTabs)) + { + $this->m_aTabs[$sTabContainer] = array( + 'prefix' => '', + 'tabs' => array(), + ); + } + // Common properties $this->m_aTabs[$sTabContainer]['tabs'][$sTabCode] = array( 'type' => $sTabType,