This commit is contained in:
zhaoke
2023-04-26 16:49:49 +08:00
parent 41f8a150aa
commit fd45a86ed6
+1 -1
View File
@@ -677,7 +677,7 @@ class transferModel extends model
}
/* if value = 0 or value = 0000:00:00 set value = ''. */
if((is_numeric($value) && $value == 0) or substr($value, 0, 4) == '0000') $rows[$id]->$field = '';
if($value == '0' or substr($value, 0, 4) == '0000') $rows[$id]->$field = '';
}
}