From 4fdbfcf581eb15789740e69a3296ae3ac09c8191 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 4 Feb 2026 14:24:18 +0100 Subject: [PATCH] Debug v23 --- htdocs/takepos/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/index.php b/htdocs/takepos/index.php index 5ad61000971..2eb3ddf69a1 100644 --- a/htdocs/takepos/index.php +++ b/htdocs/takepos/index.php @@ -1471,7 +1471,7 @@ if (getDolGlobalString('TAKEPOS_BAR_RESTAURANT')) { // Button to print receipt if (getDolGlobalString('TAKEPOS_PRINT_METHOD') == "takeposconnector") { // deprecated method - if (getDolGlobalString('TAKEPOS_PRINT_SERVER') && filter_var(getDolGlobalString('TAKEPOS_PRINT_SERVER, FILTER_VALIDATE_URL')) == true) { + if (getDolGlobalString('TAKEPOS_PRINT_SERVER') && filter_var(getDolGlobalString('TAKEPOS_PRINT_SERVER'), FILTER_VALIDATE_URL) == true) { $menus[$r++] = array('title' => '
'.$langs->trans("PrintTicket").'
', 'action' => 'TakeposConnector(placeid);'); } else { $menus[$r++] = array('title' => '
'.$langs->trans("PrintTicket").'
', 'action' => 'TakeposPrinting(placeid);');