Fix: Option CASHDESK_SHOW_KEYPAD was not working

This commit is contained in:
Laurent Destailleur 2014-12-04 01:26:19 +01:00
parent bfdad0ac49
commit c844e35fa1

View File

@ -16,7 +16,7 @@
*/ */
/** /**
* Return a string to outptu a keypad * Return a string to output a keypad
* *
* @param string $keypadname Key pad name * @param string $keypadname Key pad name
* @param string $formname Form name * @param string $formname Form name
@ -24,6 +24,8 @@
*/ */
function genkeypad($keypadname, $formname) function genkeypad($keypadname, $formname)
{ {
global $conf;
if (empty($conf->global->CASHDESK_SHOW_KEYPAD)) return ''; if (empty($conf->global->CASHDESK_SHOW_KEYPAD)) return '';
// défine the font size of button // défine the font size of button