[*] BO : Fixed #PSCFI-1667

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@6099 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
gBrunier
2011-04-28 12:37:23 +00:00
parent 1bbcd95d9e
commit ee90038754
+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 */