Skip to content

Commit f4fe954

Browse files
author
Till Brehm
committed
Merge branch '6446-le-warning' into 'develop'
Early return when no LE domains remain, #6446 Closes #6446 See merge request ispconfig/ispconfig3!1685
2 parents 0b34b06 + 39d95d1 commit f4fe954

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/lib/classes/letsencrypt.inc.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,10 @@ public function request_certificates($data, $server_type = 'apache') {
406406
$app->log("There were " . $le_domain_count . " domains in the domain list. LE only supports 100, so we strip the rest.", LOGLEVEL_WARN);
407407
}
408408

409+
if ($le_domain_count == 0) {
410+
return false;
411+
}
412+
409413
// unset useless data
410414
unset($subdomains);
411415
unset($aliasdomains);

0 commit comments

Comments
 (0)