From d07b859fbc7b92bf6d4d9140ced0bf601e2be8d2 Mon Sep 17 00:00:00 2001 From: b_b Date: Thu, 21 Jan 2021 15:40:08 +0100 Subject: [PATCH] fix 02f7548245985ad40d430d3e8f1f809960a2fcc4 merci les relecteurs :) --- ecrire/iterateur/data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/iterateur/data.php b/ecrire/iterateur/data.php index 4f653ee41..da8c7231d 100644 --- a/ecrire/iterateur/data.php +++ b/ecrire/iterateur/data.php @@ -647,7 +647,7 @@ function inc_sql_to_array_dist($data) { * @return array|bool */ function inc_json_to_array_dist($data) { - if (is_array($json = json_decode($u, true))) { + if (is_array($json = json_decode($data, true))) { return (array)$json; } }