* The field is seted when it is null.
This commit is contained in:
@@ -1159,7 +1159,7 @@ class baseDAO
|
||||
* 如果没数据中没有该字段,直接返回。
|
||||
* If no this field in the data, return.
|
||||
**/
|
||||
if(!isset($this->sqlobj->data->$fieldName)) return $this;
|
||||
if(!is_null($this->sqlobj->data->$fieldName) && !isset($this->sqlobj->data->$fieldName)) return $this;
|
||||
|
||||
/* 设置字段值。 */
|
||||
/* Set the field label and value. */
|
||||
|
||||
Reference in New Issue
Block a user