Fixing style errors.

This commit is contained in:
stickler-ci 2020-04-28 07:18:45 +00:00
parent 740b2c9228
commit 2cf5f12a62
2 changed files with 6 additions and 7 deletions

View File

@ -152,14 +152,14 @@ elseif ($action == 'setparams')
$res = dolibarr_set_const($db, "PAYMENTS_FOURN_REPORT_GROUP_BY_MOD", GETPOST('PAYMENTS_FOURN_REPORT_GROUP_BY_MOD', 'int'), 'chaine', 0, '', $conf->entity); $res = dolibarr_set_const($db, "PAYMENTS_FOURN_REPORT_GROUP_BY_MOD", GETPOST('PAYMENTS_FOURN_REPORT_GROUP_BY_MOD', 'int'), 'chaine', 0, '', $conf->entity);
if (!$res > 0) $error++; if (!$res > 0) $error++;
if ($error) if ($error)
{ {
setEventMessages($langs->trans("Error"), null, 'errors'); setEventMessages($langs->trans("Error"), null, 'errors');
} }
if (!$error) if (!$error)
{ {
setEventMessages($langs->trans("SetupSaved"), null, 'mesgs'); setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
} }
} }
/* /*

View File

@ -548,7 +548,6 @@ class pdf_paiement
} }
$pdf->SetFillColor(220, 220, 220); $pdf->SetFillColor(220, 220, 220);
} }
} }
$total += $total_page; $total += $total_page;
$pdf->SetFillColor(255, 255, 255); $pdf->SetFillColor(255, 255, 255);