mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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:
parent
02d520b5a7
commit
2ea1254c6b
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user