Laurent Destailleur 2 years ago
parent
commit
f60fd09603
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/takepos/freezone.php

+ 1 - 1
htdocs/takepos/freezone.php

@@ -134,7 +134,7 @@ if ($action == "addnote") {
 <input type="submit" class="button takepospay clearboth" value="OK" onclick="Save(); return false;">
 </form>
 <?php
-if ($action == 'freezone' && getDolGlobalString("TAKEPOS_USE_DEFAULT_VATRATE_FOR_FREEZONE") == 0) {
+if ($action == 'freezone' && !getDolGlobalString("TAKEPOS_USE_DEFAULT_VATRATE_FOR_FREEZONE")) {
 	require_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php';
 
 	$form = new Form($db);