diff --git a/server/lib/classes/letsencrypt.inc.php b/server/lib/classes/letsencrypt.inc.php index bce4e7b84a9ef7916d25a9b808f96fd5d0de19a0..6a1d2d02acaf6310d277aa662578212030527d20 100644 --- a/server/lib/classes/letsencrypt.inc.php +++ b/server/lib/classes/letsencrypt.inc.php @@ -406,6 +406,10 @@ class letsencrypt { $app->log("There were " . $le_domain_count . " domains in the domain list. LE only supports 100, so we strip the rest.", LOGLEVEL_WARN); } + if ($le_domain_count == 0) { + return false; + } + // unset useless data unset($subdomains); unset($aliasdomains);