Update byratecountry.php

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

View File

@ -114,7 +114,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 = GETPOST("modetax", 'int');
}