This commit is contained in:
Maxime Kohlhaas 2019-05-19 00:05:23 +02:00
parent ba88d89ff5
commit 1d980342ec

View File

@ -1244,6 +1244,10 @@ function check_value($mask,$value)
if (! empty($reg[3]) && preg_match('/^@/',$reg[3])) $maskraz=preg_replace('/^@/','',$reg[3]);
if ($maskraz >= 0)
{
if ($maskraz == 99) {
$maskraz = date('m');
$resetEveryMonth = true;
}
if ($maskraz > 12) return 'ErrorBadMaskBadRazMonth';
// Define reg