[*] BO : Fixed #PSCFI-1667
This commit is contained in:
1 parent
9fd096df84
commit
9bc3b0356c
1 file changed
+2
-1
@@ -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 */
|
||||||
|
|||||||
Reference in new issue
Block a user