// submit bulk delete categoy fix
This commit is contained in:
1 parent
eaa3bd21b3
commit
8227b70914
2 files changed
+1
-10
No files matched your search
@@ -28,7 +28,7 @@
|
|||||||
{if $bulk_actions}
|
{if $bulk_actions}
|
||||||
<p>
|
<p>
|
||||||
{foreach $bulk_actions as $key => $params}
|
{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}
|
{/foreach}
|
||||||
</p>
|
</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -655,15 +655,6 @@ class AdminCategoriesControllerCore extends AdminController
|
|||||||
INSERT INTO '._DB_PREFIX_.$this->table.'_'.$type.' (`'.pSQL($this->identifier).'`, `id_'.$type.'`)
|
INSERT INTO '._DB_PREFIX_.$this->table.'_'.$type.' (`'.pSQL($this->identifier).'`, `id_'.$type.'`)
|
||||||
VALUES '.pSQL($insert));
|
VALUES '.pSQL($insert));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param $token
|
|
||||||
* @return bool
|
|
||||||
*/
|
|
||||||
protected function processSelectDelete($token)
|
|
||||||
{
|
|
||||||
return parent::processBulkDelete($token);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user