[*] BO : Fixed #PSCFI-1667

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