* Fix sql and rename program to PRJ.
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->session->program);
|
||||
$this->view->products = $this->products = $this->product->getPairs('nocode', $this->session->PRJ);
|
||||
if(empty($this->products)) die($this->locate($this->createLink('product', 'showErrorNone', "fromModule=testtask")));
|
||||
}
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ class testtaskModel extends model
|
||||
{
|
||||
$task = fixer::input('post')
|
||||
->setDefault('build', '')
|
||||
->setDefault('program', $this->session->program)
|
||||
->setDefault('program', $this->session->PRJ)
|
||||
->stripTags($this->config->testtask->editor->create['id'], $this->config->allowedTags)
|
||||
->join('mailto', ',')
|
||||
->remove('uid,contactListMenu')
|
||||
|
||||
Reference in New Issue
Block a user