From 2f4f82b0133e7e0feae3e6b9341e9c6fc9ef6f74 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Mon, 7 Apr 2025 13:10:32 +0200 Subject: [PATCH] Fix CI --- htdocs/core/lib/functions2.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php index 19ff4b52e60..7423f8d0a56 100644 --- a/htdocs/core/lib/functions2.lib.php +++ b/htdocs/core/lib/functions2.lib.php @@ -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);