* Delete extra blank lines.
This commit is contained in:
@@ -155,7 +155,6 @@ class productModel extends model
|
||||
if(empty($product)) $productID = key($products);
|
||||
$this->session->set('product', (int)$productID, $this->app->tab);
|
||||
if($productID && strpos(",{$this->app->user->view->products},", ",{$productID},") === false) $this->accessDenied();
|
||||
|
||||
}
|
||||
|
||||
setcookie('preProductID', (int)$productID, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true);
|
||||
|
||||
Reference in New Issue
Block a user