From 3a8126ed7b0d166f151969c8076266a7d47d5137 Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Sat, 27 Mar 2021 10:29:53 +0100 Subject: [PATCH] fclose fix (parameter should be a stream) --- damia/home/www/ml.faivre/root/Portail/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damia/home/www/ml.faivre/root/Portail/index.php b/damia/home/www/ml.faivre/root/Portail/index.php index 7bf1eae..9ca7e26 100644 --- a/damia/home/www/ml.faivre/root/Portail/index.php +++ b/damia/home/www/ml.faivre/root/Portail/index.php @@ -54,7 +54,7 @@ $legende = array(); $legende[$i] = $texte; $i=$i+1; } - fclose('legendes.txt'); + fclose($ff); $legende_json = json_encode($legende);