* Adjust code style.

This commit is contained in:
tianshujie98
2021-06-01 14:31:11 +08:00
parent a35032c35f
commit 6957fa70a4
+1 -1
View File
@@ -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');