* Fix bug #34824.
This commit is contained in:
@@ -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 = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user