2
0
forked from Wavyzz/dolibarr

FIX stickler-ci errors

This commit is contained in:
lvessiller
2021-03-26 17:59:16 +01:00
parent 8a2e49d6e7
commit 05bf3cdab1
2 changed files with 3 additions and 3 deletions

View File

@@ -2508,7 +2508,7 @@ class Propal extends CommonObject
* @param int $notrigger 1=Does not execute triggers, 0=Execute triggers
* @return int <0 if KO, >0 if OK
*/
function signature($user, $statut, $note = '', $notrigger = 0)
public function signature($user, $statut, $note = '', $notrigger = 0)
{
global $langs,$conf;
@@ -2549,7 +2549,7 @@ class Propal extends CommonObject
$outputlangs = $langs;
if (!empty($conf->global->MAIN_MULTILANGS)) {
$outputlangs = new Translate("", $conf);
$newlang = (GETPOST('lang_id','aZ09') ? GETPOST('lang_id','aZ09') : $this->thirdparty->default_lang);
$newlang = (GETPOST('lang_id', 'aZ09') ? GETPOST('lang_id', 'aZ09') : $this->thirdparty->default_lang);
$outputlangs->setDefaultLang($newlang);
}

View File

@@ -553,7 +553,7 @@ function dol_print_object_info($object, $usetable = 0)
}
print dol_print_date($object->date_signature, 'dayhour');
if ($deltadateforuser) {
print ' '.$langs->trans('CurrentHour').' &nbsp; / &nbsp; '.dol_print_date($object->date_signature,'dayhour', 'tzuserrel').' &nbsp;'.$langs->trans('ClientHour');
print ' '.$langs->trans('CurrentHour').' &nbsp; / &nbsp; '.dol_print_date($object->date_signature, 'dayhour', 'tzuserrel').' &nbsp;'.$langs->trans('ClientHour');
}
if ($usetable) {
print '</td></tr>';