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:
@@ -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'";
|
||||
|
||||
Reference in New Issue
Block a user