Skip to content
Snippets Groups Projects
Commit f8ddd69c authored by Regis Houssin's avatar Regis Houssin
Browse files

FIXME regresion if code with not in numeric base

parent 7217d91f
No related branches found
No related tags found
No related merge requests found
......@@ -448,11 +448,12 @@ if (GETPOST('actionadd') || GETPOST('actionmodify'))
$ok=0;
$msg.= $langs->transnoentities('ErrorCodeCantContainZero').'<br>';
}
if (!is_numeric($_POST['code']))
// FIXME regresion if code with not in numeric base
/*if (!is_numeric($_POST['code']))
{
$ok = 0;
$msg .= $langs->transnoentities('ErrorFieldFormat', $langs->transnoentities('Code')).'<br />';
}
}*/
}
if (isset($_POST["pays"]) && $_POST["pays"]=='0') {
$ok=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment