* Adjust code style.
This commit is contained in:
@@ -507,7 +507,7 @@ class productModel extends model
|
||||
->remove('uid,newLine,lineName')
|
||||
->get();
|
||||
|
||||
if(!empty($this->post->lineName))
|
||||
if(!empty($_POST['lineName']))
|
||||
{
|
||||
/* Insert product line. */
|
||||
$maxOrder = $this->dao->select("max(`order`) as maxOrder")->from(TABLE_MODULE)->where('type')->eq('line')->fetch('maxOrder');
|
||||
|
||||
Reference in New Issue
Block a user