Update quadri_detail.php

This commit is contained in:
Laurent Destailleur 2021-03-15 10:59:41 +01:00 committed by GitHub
parent bfd954b91e
commit c2c434ab7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ if (empty($min)) {
// Define modetax (0 or 1)
// 0=normal, 1=option vat for services is on debit, 2=option on payments for products
$modetax = (!empty($conf->global->TAX_MODE) ? $conf->global->TAX_MODE : 0);
$modetax = (empty($conf->global->TAX_MODE) ? 0 : $conf->global->TAX_MODE);
if (GETPOSTISSET("modetax")) {
$modetax = GETPOSTINT("modetax");
}