Update card.php

php v8 warning, tva_npr var not initialised
This commit is contained in:
Charlène Benke 2023-07-04 12:14:44 +02:00 committed by GitHub
parent 6465aefff7
commit f72df4510c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1040,6 +1040,7 @@ if (empty($reshook)) {
$pu_ttc_devise = 0;
$price_min = 0;
$price_min_ttc = 0;
$tva_npr=0;
$price_base_type = (GETPOST('price_base_type', 'alpha') ? GETPOST('price_base_type', 'alpha') : 'HT');
$db->begin();