Merge pull request #24052 from fappels/17_fix_php_warning
Fix dol_print_date warning
This commit is contained in:
commit
cd7e93d5bb
@ -1738,8 +1738,8 @@ class FichinterLigne extends CommonObjectLine
|
||||
|
||||
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter";
|
||||
$sql .= " SET duree = ".((int) $total_duration);
|
||||
$sql .= " , dateo = ".(!empty($obj->dateo) ? "'".$this->db->idate($obj->dateo)."'" : "null");
|
||||
$sql .= " , datee = ".(!empty($obj->datee) ? "'".$this->db->idate($obj->datee)."'" : "null");
|
||||
$sql .= " , dateo = ".(!empty($obj->dateo) ? "'".$this->db->escape($obj->dateo)."'" : "null");
|
||||
$sql .= " , datee = ".(!empty($obj->datee) ? "'".$this->db->escape($obj->datee)."'" : "null");
|
||||
$sql .= " WHERE rowid = ".((int) $this->fk_fichinter);
|
||||
|
||||
dol_syslog("FichinterLigne::update_total", LOG_DEBUG);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user