Merge pull request #10279 from glu000/develop

Update commonobject.class.php
This commit is contained in:
Laurent Destailleur 2019-01-02 19:54:08 +01:00 committed by GitHub
commit e1094e6465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5038,8 +5038,6 @@ abstract class CommonObject
$new_array_options[$key] = price2num($this->array_options[$key]);
break;
case 'date':
$new_array_options[$key] = $this->db->idate($this->array_options[$key]);
break;
case 'datetime':
// If data is a string instead of a timestamp, we convert it
if (! is_int($this->array_options[$key])) {