mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Add more checks to ids in CartController destroy function
This commit is contained in:
@@ -66,7 +66,7 @@ class CartController extends BasePageController
|
||||
{
|
||||
$this->setPrefs();
|
||||
$ids = null;
|
||||
if (! empty($id)) {
|
||||
if (! empty($id) && ! \is_array($id)) {
|
||||
$ids = explode(',', $id);
|
||||
} elseif (\is_array($id)) {
|
||||
$ids = $id;
|
||||
|
||||
Reference in New Issue
Block a user