Fixed regression introduced by [3141]: Code cleanup to implement the tabs handling (inside web pages) in one place.

SVN:trunk[3150]
This commit is contained in:
Denis Flaven
2014-05-07 13:14:19 +00:00
parent 389b97dc50
commit bb65153351
2 changed files with 30 additions and 28 deletions

View File

@@ -975,7 +975,7 @@ EOF
public function add($sHtml)
{
if (!empty($this->m_oTabs->GetCurrentTabContainer()) && !empty($this->m_oTabs->GetCurrentTab()))
if (($this->m_oTabs->GetCurrentTabContainer() != '') && ($this->m_oTabs->GetCurrentTab() != ''))
{
$this->m_oTabs->AddToCurrentTab($sHtml);
}