Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
Scrutinizer Auto-Fixer
2020-10-31 13:32:18 +00:00
parent 92bdcd017d
commit 7f52920716
1177 changed files with 82257 additions and 82262 deletions

View File

@@ -152,7 +152,7 @@ if ($resql)
print '<tr class="oddeven">';
print '<td class="nowraponall">';
print $fuserstatic->getNomUrl(-1);
print $fuserstatic->getNomUrl(-1);
if (!empty($conf->multicompany->enabled) && $obj->admin && !$obj->entity)
{
print img_picto($langs->trans("SuperAdministrator"), 'redstar');
@@ -165,7 +165,7 @@ if ($resql)
print "<td>";
if ($obj->fk_soc)
{
print $companystatic->getNomUrl(1);
print $companystatic->getNomUrl(1);
} else {
print $langs->trans("InternalUser");
}
@@ -176,7 +176,7 @@ if ($resql)
$entity = $obj->entity;
$entitystring = '';
// TODO Set of entitystring should be done with a hook
// TODO Set of entitystring should be done with a hook
if (!empty($conf->multicompany->enabled) && is_object($mc))
{
if (empty($entity))
@@ -187,13 +187,13 @@ if ($resql)
$entitystring = $mc->label;
}
}
print ($entitystring ? ' ('.$entitystring.')' : '');
print ($entitystring ? ' ('.$entitystring.')' : '');
print '</td>';
print '<td class="center nowrap">'.dol_print_date($db->jdate($obj->datec), 'dayhour').'</td>';
print '<td class="right">';
print $fuserstatic->getLibStatut(3);
print '</td>';
print '<td class="right">';
print $fuserstatic->getLibStatut(3);
print '</td>';
print '</tr>';
$i++;
@@ -259,10 +259,10 @@ if ($canreadperms)
print "</td>";
if (!empty($conf->multicompany->enabled) && is_object($mc))
{
$mc->getInfo($obj->entity);
print '<td>';
print $mc->label;
print '</td>';
$mc->getInfo($obj->entity);
print '<td>';
print $mc->label;
print '</td>';
}
print '<td class="nowrap right">'.dol_print_date($db->jdate($obj->datec), 'dayhour').'</td>';
print "</tr>";