Skip to content

Commit

Permalink
Merge pull request Dolibarr#27651 from thibdrev/patch-3
Browse files Browse the repository at this point in the history
qual: phpstan
  • Loading branch information
eldy authored Jan 19, 2024
2 parents 6187cbc + 9039db9 commit c863302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/admin/expensereport_rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
$apply_to = GETPOST('apply_to');
$fk_user = GETPOST('fk_user', 'int');
$fk_usergroup = GETPOST('fk_usergroup', 'int');
$restrictive = GETPOST('restrictive', 'int');
$fk_c_type_fees = GETPOST('fk_c_type_fees', 'int');
$restrictive = GETPOSTINT('restrictive');
$fk_c_type_fees = GETPOSTINT('fk_c_type_fees');
$code_expense_rules_type = GETPOST('code_expense_rules_type');
$dates = dol_mktime(12, 0, 0, GETPOST('startmonth'), GETPOST('startday'), GETPOST('startyear'));
$datee = dol_mktime(12, 0, 0, GETPOST('endmonth'), GETPOST('endday'), GETPOST('endyear'));
$amount = price2num(GETPOST('amount'), 'MT', 2);
$amount = (float) price2num(GETPOST('amount'), 'MT', 2);

if (!empty($id)) {
$result = $object->fetch($id);
Expand Down

0 comments on commit c863302

Please sign in to comment.