From b2dd9bfb40de2a27a16d0cd33792cd0d1c2811c1 Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Sun, 21 May 2023 09:51:56 +0200 Subject: [PATCH] fix php8 --- htdocs/takepos/invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 0ca2155feb1..9eb94b9c9ee 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 ($conf->global->TAKEPOS_SHOW_SUBPRICE) { + if (getDolGlobalString("TAKEPOS_SHOW_SUBPRICE")) { print ''.$langs->trans('PriceUHT').''; } print ''.$langs->trans('ReductionShort').'';