Fixing style errors.
This commit is contained in:
parent
b3c1bb9706
commit
6f7a223a8d
@ -1402,26 +1402,20 @@ if ($resql)
|
|||||||
$resqlu = $db->query($sqlu);
|
$resqlu = $db->query($sqlu);
|
||||||
|
|
||||||
if ($resqlu) {
|
if ($resqlu) {
|
||||||
|
|
||||||
if ($db->num_rows($resqlu) > 0 &&
|
if ($db->num_rows($resqlu) > 0 &&
|
||||||
(($type_link == 'payment_salary' && !empty($user->rights->salaries->read))
|
(($type_link == 'payment_salary' && !empty($user->rights->salaries->read))
|
||||||
|| ($type_link == 'payment_sc' && !empty($user->rights->tax->charges->lire)))) {
|
|| ($type_link == 'payment_sc' && !empty($user->rights->tax->charges->lire)))) {
|
||||||
|
|
||||||
$obj = $db->fetch_object($resqlu);
|
$obj = $db->fetch_object($resqlu);
|
||||||
$userstatic->fetch($obj->url_id);
|
$userstatic->fetch($obj->url_id);
|
||||||
print $userstatic->getNomUrl(1);
|
print $userstatic->getNomUrl(1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
print ' ';
|
print ' ';
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
} else
|
|
||||||
{
|
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) $totalarray['nbfield']++;
|
if (!$i) $totalarray['nbfield']++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user