Merge pull request #10390 from glu000/8.0

Fix #10278
This commit is contained in:
Laurent Destailleur 2019-02-27 02:24:55 +01:00 committed by GitHub
commit 86e2ffe323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4932,8 +4932,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])) {