mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Update commonobject.class.php
This commit is contained in:
@@ -5038,8 +5038,8 @@ 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;
|
||||
//$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])) {
|
||||
|
||||
Reference in New Issue
Block a user