Fix PHP 8.5 compatibility: mysqli conversion, utf8_decode removal, collation fixes, null-safety, unquoted array keys, -> fix, conversion_ts_mysql NULL guard

This commit is contained in:
2026-05-12 01:46:39 +02:00
parent 2846a53f30
commit 74f19729fd
53 changed files with 1085 additions and 252 deletions

View File

@@ -46,12 +46,12 @@ $id_club=$_SESSION['Club'];
do {
$now=$now+(3600*24);
$now_tab=getDate($now);
}while($['']!=1);
}while($now_tab['wday']!=1);
$select=FALSE;
do {
$now_tab=getDate($now);
/* Lundi debut semaine */
if($['']==1) {
if($now_tab['wday']==1) {
$debut=Date("d-m-Y",$now);
}
/* Numéro semaine */
@@ -61,7 +61,7 @@ $id_club=$_SESSION['Club'];
}
$num_sem_now=NumeroSemaine(Date("d-m-Y"));
/* Dimanche fin semaine */
if($['']==0) {
if($now_tab['wday']==0) {
$fin=Date("d-m-Y",$now);
$annee_fin=Date("Y", $now);
echo "<option value='$num_semaine-$annee_fin'";