// Context part 9
This commit is contained in:
@@ -40,12 +40,9 @@ class AdminFeaturesValues extends AdminTab
|
||||
|
||||
/**
|
||||
* Display form
|
||||
*
|
||||
* @global string $currentIndex Current URL in order to keep current Tab
|
||||
*/
|
||||
public function displayForm($isMainTab = true)
|
||||
{
|
||||
global $currentIndex;
|
||||
parent::displayForm();
|
||||
|
||||
if (!($obj = $this->loadObject(true)))
|
||||
@@ -88,13 +85,9 @@ class AdminFeaturesValues extends AdminTab
|
||||
|
||||
/**
|
||||
* Manage page processing
|
||||
*
|
||||
* @global string $currentIndex Current URL in order to keep current Tab
|
||||
*/
|
||||
public function postProcess($token = NULL)
|
||||
{
|
||||
global $currentIndex;
|
||||
|
||||
if(Tools::getValue('submitDel'.$this->table))
|
||||
{
|
||||
if ($this->tabAccess['delete'] === '1')
|
||||
|
||||
Reference in New Issue
Block a user