From 8dd64b0dc1afb15de367bc0abed47ffeaea1ba3f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 3 Feb 2019 19:15:41 +0100 Subject: [PATCH] Update takepos.php --- htdocs/takepos/takepos.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/takepos/takepos.php b/htdocs/takepos/takepos.php index b2a7e36cb8d..21ef33255b2 100644 --- a/htdocs/takepos/takepos.php +++ b/htdocs/takepos/takepos.php @@ -419,9 +419,9 @@ $( document ).ready(function() { if (empty($conf->global->CASHDESK_ID_THIRDPARTY) or empty($conf->global->CASHDESK_ID_BANKACCOUNT_CASH) or empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB)) { setEventMessages($langs->trans("ErrorModuleSetupNotComplete"), null, 'errors'); } -if (count($maincategories)==0){ +if (count($maincategories)==0) { setEventMessages($langs->trans("TakeposNeedsCategories"), null, 'errors'); -} +} // User menu and external TakePOS modules $menus = array(); $r=0;