FIX : getNomUrl() user in title and travis feedbacks

This commit is contained in:
Gauthier PC portable 024 2021-03-04 16:29:32 +01:00
parent 6cbc979520
commit 4fe292c76d
2 changed files with 3 additions and 2 deletions

View File

@ -134,7 +134,7 @@ print "</table>\n";
print '<div class="center"><input type="submit" class="button" value="'.$langs->trans('Modify').'" name="button"></div>';
print '</form><br />';
print '</form><br>';
echo '<div>';
echo '<table class="noborder centpercent">';

View File

@ -71,7 +71,8 @@ $title = $langs->trans("SalariesPayments");
if (!empty($search_user)) {
$u = new user($db);
$u->fetch($search_user);
$title = $langs->trans("SalariesPaymentsOf", $u->getNomUrl());
$title = $langs->trans("SalariesPaymentsOf", '{s1}');
$title = $title = str_replace('{s1}', $u->getNomUrl(), $title);
}
$param = '';