This commit is contained in:
ldestailleur
2025-04-07 13:10:32 +02:00
parent d77898ff3d
commit 2f4f82b013

View File

@@ -1102,6 +1102,9 @@ function get_next_value($db, $mask, $table, $field, $where = '', $objsoc = '', $
}
//print "maskraz=".$maskraz; // -1=no reset
$monthcomp = 0;
$yearcomp = '';
if ($maskraz > 0) { // A reset is required
if ($maskraz == 99) {
$maskraz = (int) date('m', $date);