clean code

This commit is contained in:
Frédéric FRANCE 2023-02-12 12:05:14 +01:00
parent daba310395
commit a7c5140fd6
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ class box_last_knowledgerecord extends ModeleBoxes
// Date creation // Date creation
$this->info_box_contents[$i][$r] = array( $this->info_box_contents[$i][$r] = array(
'td' => 'class="center nowraponall" title="'.dol_escape_htmltag($langs->trans("DateCreation").': '.dol_print_date($datec, 'dayhour', 'tzuserrel')).'"', 'td' => 'class="center nowraponall" title="'.dol_escape_htmltag($langs->trans("DateCreation").': '.dol_print_date($datec, 'dayhour', 'tzuserrel')).'"',
'text' => dol_print_date($objp->datec, 'dayhour', 'tzuserrel'), 'text' => dol_print_date($datec, 'dayhour', 'tzuserrel'),
); );
$r++; $r++;

View File

@ -171,7 +171,7 @@ class box_last_modified_knowledgerecord extends ModeleBoxes
// Date creation // Date creation
$this->info_box_contents[$i][$r] = array( $this->info_box_contents[$i][$r] = array(
'td' => 'class="center nowraponall" title="'.dol_escape_htmltag($langs->trans("DateCreation").': '.dol_print_date($datec, 'dayhour', 'tzuserrel')).'"', 'td' => 'class="center nowraponall" title="'.dol_escape_htmltag($langs->trans("DateCreation").': '.dol_print_date($datec, 'dayhour', 'tzuserrel')).'"',
'text' => dol_print_date($objp->datec, 'dayhour', 'tzuserrel'), 'text' => dol_print_date($datec, 'dayhour', 'tzuserrel'),
); );
$r++; $r++;