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;