Conflicts:
	htdocs/modulebuilder/template/class/myobject.class.php
This commit is contained in:
Laurent Destailleur
2019-05-19 02:06:20 +02:00
4 changed files with 8 additions and 4 deletions

View File

@@ -1260,6 +1260,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