From 95ab5e1d1c25af6bd2af5f38dd3cd9864327b3f9 Mon Sep 17 00:00:00 2001 From: hael Date: Fri, 14 Mar 2025 15:12:55 +0100 Subject: [PATCH] show letsencryptinfo according to new json structure --- functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index a4e136a..69fa4ce 100644 --- a/functions.php +++ b/functions.php @@ -307,9 +307,9 @@ function check_letsencrypt() { // TODO json error } else { - foreach ($data as $d) { - $result[$d["domain"]] = $d; - } + foreach ($data as $domain => $domain_data) { + $result[$domain] = $domain_data; + } } } else $result = "";