Revert change
This commit is contained in:
parent
9624b9aa59
commit
c37377626e
@ -8528,7 +8528,9 @@ abstract class CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$queryarray[$field] = !empty($this->{$field}) ? $this->{$field} : 0;
|
// Note: If $this->{$field} is not defined, it means there is a bug into definition of ->fields or a missing declaration of property
|
||||||
|
// We should keep the warning generated by this because it is a bug somewhere else in code, not here.
|
||||||
|
$queryarray[$field] = $this->{$field};
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($info['type'] == 'timestamp' && empty($queryarray[$field])) {
|
if ($info['type'] == 'timestamp' && empty($queryarray[$field])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user