From 8c2a9017cf958a5416506fe5037dde58e21a06cd Mon Sep 17 00:00:00 2001 From: Tiavina Date: Tue, 31 Dec 2024 09:13:24 +0300 Subject: [PATCH] current Year and current month for export thanato --- gestion/lib/Db/Bdd.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/lib/Db/Bdd.php b/gestion/lib/Db/Bdd.php index ed9e41b..7b22a88 100644 --- a/gestion/lib/Db/Bdd.php +++ b/gestion/lib/Db/Bdd.php @@ -1899,8 +1899,8 @@ class Bdd { if(empty($thanatoIds)){ return []; } - $currentYear = '2025'; - $currentMonth = '1'; + $currentYear = date('Y'); + $currentMonth = date('m'); $sqlConditionsPlaceholder = implode(',', array_fill(0, count($thanatoIds), '?')); $sql = "SELECT