* fix for get cookie branch.
This commit is contained in:
@@ -57,7 +57,7 @@ class testtask extends control
|
||||
|
||||
/* Set menu. */
|
||||
$productID = $this->product->saveState($productID, $this->products);
|
||||
if($branch === '') $branch = $this->cookie->preBranch;
|
||||
if($branch === '') $branch = (int)$this->cookie->preBranch;
|
||||
$this->testtask->setMenu($this->products, $productID, $branch);
|
||||
|
||||
/* Load pager. */
|
||||
|
||||
Reference in New Issue
Block a user