[*] BO : Fixed #PSCFI-1667

This commit is contained in:
gBrunier
2011-04-28 12:37:23 +00:00
parent 9fd096df84
commit 9bc3b0356c
+2 -1
View File
@@ -228,7 +228,7 @@ abstract class AdminTabCore
global $currentIndex, $cookie;
// Include other tab in current tab
if ($this->includeSubTab('display', array('submitAdd2', 'add', 'update', 'view')));
if ($this->includeSubTab('display', array('submitAdd2', 'add', 'update', 'view'))){}
// Include current tab
elseif ((Tools::getValue('submitAdd'.$this->table) AND sizeof($this->_errors)) OR isset($_GET['add'.$this->table]))
@@ -321,6 +321,7 @@ abstract class AdminTabCore
if (!isset($this->_includeTab) OR !is_array($this->_includeTab))
return ;
$key = 0;
$inc = false;
foreach ($this->_includeTab as $subtab => $extraVars)
{
/* New tab loading */