Merge branch 'sprint/master_zhouxudong_16729' into 'master'
* Fix bug from max #16729. See merge request easycorp/zentaopms!3080
This commit is contained in:
@@ -1486,7 +1486,7 @@ class userModel extends model
|
||||
$this->dao->insert(TABLE_USERCONTACT)->data($data)
|
||||
->autoCheck()
|
||||
->exec();
|
||||
if(dao::isError()) return print(js::error(dao::getError()));
|
||||
if(dao::isError()) return false;
|
||||
|
||||
return $this->dao->lastInsertID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user