diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index d97eb5e6f0d..577205621bb 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -1347,7 +1347,7 @@ if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'e print $hookmanager->resPrint; if (empty($_SESSION["basiclayout"]) || $_SESSION["basiclayout"] != 1) { - if (getDolGlobalString("TAKEPOS_SHOW_SUBPRICE")) { + if (getDolGlobalInt("TAKEPOS_SHOW_SUBPRICE")) { print '