From 9fa219ef4c43ced1301122dcf2bfde22dcc61e6f Mon Sep 17 00:00:00 2001 From: Cedric Date: Fri, 19 Jun 2026 14:38:41 +0200 Subject: [PATCH] Actualiser api.php --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 3ea6b93..ad22e68 100644 --- a/api.php +++ b/api.php @@ -329,7 +329,7 @@ switch ($action) { // 🌟 Conservation de la précision Letterboxd (2.5, 3.5, etc.) $rating = isset($rowData['Rating']) && $rowData['Rating'] !== '' ? (float)$rowData['Rating'] : 3.0; $review = $rowData['Review'] ?? $rowData['review'] ?? ''; - $streaming = $rowData['Streaming'] ?? $rowData['streaming'] ?? ''; + $streaming = $rowData['Streaming'] ?? $rowData['streaming'] ?? 'Disponible en support physique ou Cinéma'; $sql = "INSERT INTO critiques (id, title, year, director, poster, rating, review, streaming) VALUES (?, ?, ?, ?, ?, ?, ?, ?)