show letsencryptinfo according to new json structure
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-14 15:12:55 +01:00
parent ed6b08b481
commit 95ab5e1d1c

View File

@@ -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 = "";