qual: phpstn

htdocs/loan/card.php	135	Property Loan::$fk_bank (int) does not accept array|string.
htdocs/loan/card.php	143	Property Loan::$fk_project (int) does not accept array|string.
This commit is contained in:
thibdrev 2024-01-20 21:46:38 +01:00 committed by GitHub
parent 02d520b5a7
commit 2ea1254c6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ if (empty($reshook)) {
if (!$error) {
$object->label = GETPOST('label');
$object->fk_bank = GETPOST('accountid');
$object->fk_bank = GETPOSTINT('accountid');
$object->capital = $capital;
$object->datestart = $datestart;
$object->dateend = $dateend;
@ -140,7 +140,7 @@ if (empty($reshook)) {
$object->rate = $rate;
$object->note_private = GETPOST('note_private', 'restricthtml');
$object->note_public = GETPOST('note_public', 'restricthtml');
$object->fk_project = GETPOST('projectid', 'int');
$object->fk_project = GETPOSTINT('projectid');
$object->insurance_amount = GETPOST('insurance_amount', 'int');
$accountancy_account_capital = GETPOST('accountancy_account_capital');