Merge pull request #20509 from atm-gauthier/14.0_fix_no_unset_fields_afteer_updateline_expensereport

FIX : Missing unset fields after updateline expensereport
This commit is contained in:
Laurent Destailleur 2022-04-02 16:30:38 +02:00 committed by GitHub
commit 796164d637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1282,6 +1282,15 @@ if (empty($reshook)) {
$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref);
}
unset($qty);
unset($value_unit_ht);
unset($value_unit);
unset($vatrate);
unset($comments);
unset($fk_c_type_fees);
unset($fk_project);
unset($date);
}
//header("Location: ".$_SERVER["PHP_SELF"]."?id=".$id);