diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php
index 5eef36d1692..da09b807b6f 100644
--- a/htdocs/compta/bank/bankentries_list.php
+++ b/htdocs/compta/bank/bankentries_list.php
@@ -1376,15 +1376,15 @@ if ($resql)
if (!empty($arrayfields['bu.label']['checked']))
{
//payment line type to define user display
- foreach($links as $key=>$value){
- if($links[$key]['type'] == 'payment_sc') $type_link = 'payment_sc';
- if($links[$key]['type'] == 'payment_salary') $type_link = 'payment_salary';
+ foreach ($links as $key=>$value){
+ if ($links[$key]['type'] == 'payment_sc') $type_link = 'payment_sc';
+ if ($links[$key]['type'] == 'payment_salary') $type_link = 'payment_salary';
}
print '
';
if ($objp->url_id)
{
- if($objp->type_url == 'company') {
+ if ($objp->type_url == 'company') {
$companystatic->id = $objp->url_id;
$companystatic->name = $objp->nom;
$companystatic->name_alias = $objp->name_alias;
@@ -1408,8 +1408,7 @@ if ($resql)
print $userstatic->getNomUrl(1);
}
}
- else
- {
+ else {
print ' ';
}
print ' | ';
diff --git a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
index f70d23aaaec..c4999c0765f 100644
--- a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
+++ b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php
@@ -568,7 +568,7 @@ class PaymentSocialContribution extends CommonObject
$result = $acc->add_url_line($bank_line_id, $socialcontrib->id, DOL_URL_ROOT.'/compta/charges.php?id=', $socialcontrib->type_label.(($socialcontrib->lib && $socialcontrib->lib != $socialcontrib->type_label) ? ' ('.$socialcontrib->lib.')' : ''), 'sc');
if ($result <= 0) dol_print_error($this->db);
- if($socialcontrib->fk_user) {
+ if ($socialcontrib->fk_user) {
$fuser = new User($this->db);
$fuser->fetch($socialcontrib->fk_user);