Update commonobject.class.php
This commit is contained in:
parent
227539d647
commit
a3bea8d298
@ -6083,7 +6083,7 @@ abstract class CommonObject
|
||||
$datenotinstring = $this->array_options['options_' . $key];
|
||||
if (! is_numeric($this->array_options['options_' . $key])) // For backward compatibility
|
||||
{
|
||||
$datenotinstring = $db->jdate($datenotinstring);
|
||||
$datenotinstring = $this->db->jdate($datenotinstring);
|
||||
}
|
||||
$value = GETPOSTISSET($keyprefix.'options_'.$key.$keysuffix)?dol_mktime(GETPOST($keyprefix.'options_'.$key.$keysuffix."hour", 'int', 3), GETPOST($keyprefix.'options_'.$key.$keysuffix."min",'int',3), 0, GETPOST($keyprefix.'options_'.$key.$keysuffix."month",'int',3), GETPOST($keyprefix.'options_'.$key.$keysuffix."day",'int',3), GETPOST($keyprefix.'options_'.$key.$keysuffix."year",'int',3)):$datenotinstring;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user