Merge pull request #27695 from thibdrev/patch-6

qual: phpstn
This commit is contained in:
Laurent Destailleur 2024-01-21 17:23:26 +01:00 committed by GitHub
commit 6ccc1b32d5
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');