// submit bulk delete categoy fix
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
{if $bulk_actions}
|
||||
<p>
|
||||
{foreach $bulk_actions as $key => $params}
|
||||
<input type="submit" class="button" name="submitBulk{$key}" value="{$params.text}" {if isset($params.confirm)}onclick="return confirm('{$params.confirm}');"{/if} />
|
||||
<input type="submit" class="button" name="submitBulk{$key}{$table}" value="{$params.text}" {if isset($params.confirm)}onclick="return confirm('{$params.confirm}');"{/if} />
|
||||
{/foreach}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
@@ -182,7 +182,7 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
$this->tpl_list_vars['REQUEST_URI'] = $_SERVER['REQUEST_URI'];
|
||||
$this->tpl_list_vars['POST'] = $_POST;
|
||||
}
|
||||
|
||||
|
||||
return parent::renderList();
|
||||
}
|
||||
|
||||
@@ -655,15 +655,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
INSERT INTO '._DB_PREFIX_.$this->table.'_'.$type.' (`'.pSQL($this->identifier).'`, `id_'.$type.'`)
|
||||
VALUES '.pSQL($insert));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $token
|
||||
* @return bool
|
||||
*/
|
||||
protected function processSelectDelete($token)
|
||||
{
|
||||
return parent::processBulkDelete($token);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user