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