mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2708 - Internal: Fix regression introduced with N°2313 "Undefined index 'prefix'"
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user