Merge pull request #10279 from glu000/develop
Update commonobject.class.php
This commit is contained in:
commit
e1094e6465
@ -5038,8 +5038,6 @@ abstract class CommonObject
|
|||||||
$new_array_options[$key] = price2num($this->array_options[$key]);
|
$new_array_options[$key] = price2num($this->array_options[$key]);
|
||||||
break;
|
break;
|
||||||
case 'date':
|
case 'date':
|
||||||
$new_array_options[$key] = $this->db->idate($this->array_options[$key]);
|
|
||||||
break;
|
|
||||||
case 'datetime':
|
case 'datetime':
|
||||||
// If data is a string instead of a timestamp, we convert it
|
// If data is a string instead of a timestamp, we convert it
|
||||||
if (! is_int($this->array_options[$key])) {
|
if (! is_int($this->array_options[$key])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user