@@ -34,6 +34,9 @@ class Utils
*/
public $db;
+ public $error;
+ public $errors;
+
public $output; // Used by Cron method to return message
public $result; // Used by Cron method to return data
@@ -40,6 +40,11 @@ class CommActionRapport
/**
* @var string description
@@ -4461,7 +4461,7 @@ if ($module == 'initmodule') {
print '</a>';
print '</strong>';
print ' <span class="opacitymedium">('.$langs->trans("GeneratedOn").' '.dol_print_date(dol_filemtime($outputfiledocpdf), 'dayhour').')</span>';
- print ' <a class="editfielda" href="'.$_SERVER['PHP_SELF'].'?tab='.urlencode($tab).'&module='.$module.($forceddirread ? '@'.$dirread : '').'&action=confirm_removefile&token='.newToken().'&format='.$format.'&file='.urlencode($outputfiledocpdfrel).'">'.img_picto($langs->trans("Delete"), 'delete').'</a>';
+ print ' <a class="editfielda" href="'.$_SERVER['PHP_SELF'].'?tab='.urlencode($tab).'&module='.$module.($forceddirread ? '@'.$dirread : '').'&action=confirm_removefile&token='.newToken().'&format='.$format.'&file='.urlencode($outputfiledocrelpdf).'">'.img_picto($langs->trans("Delete"), 'delete').'</a>';
}
print '</strong><br>';
@@ -252,7 +252,7 @@ if (is_array($results)) {
print '<b class="wordbreak">';
- print $tmpuser->getFullName(-1);
+ print $tmpuser->getFullName($langs);
print ' '.dol_print_email($emailforcontact, 0, 0, 1, 0, 0, 'envelope');
print '</b>';
print '</b><br>';