* Finish task #7758.
This commit is contained in:
@@ -23,7 +23,7 @@ class testtask extends control
|
||||
{
|
||||
parent::__construct($moduleName, $methodName);
|
||||
$this->loadModel('product');
|
||||
$this->view->products = $this->products = $this->product->getPairs('nocode');
|
||||
$this->view->products = $this->products = $this->product->getPairs('nocode', $this->session->program);
|
||||
if(empty($this->products)) die($this->locate($this->createLink('product', 'showErrorNone', "fromModule=testtask")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user