mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°2313 - Markup extensibility: Add support for both code AND title in admin. console tabs
This commit is contained in:
@@ -1474,7 +1474,7 @@ class TabManager
|
||||
{
|
||||
// Sometimes people set an empty tab to force content NOT to be rendered in the previous one. We need to remove them.
|
||||
// Note: Look for "->SetCurrentTab('');" for examples.
|
||||
if (empty($sTabCode))
|
||||
if ($sTabCode === '')
|
||||
{
|
||||
unset($aTabs['tabs'][$sTabCode]);
|
||||
}
|
||||
@@ -1604,4 +1604,4 @@ EOF
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user