We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2315b81 commit 7c2bb88Copy full SHA for 7c2bb88
install/lib/installer_base.lib.php
@@ -2988,15 +2988,15 @@ public function make_ispconfig_ssl_cert() {
2988
$dnsa=dns_get_record($hostname, DNS_A);
2989
if($dnsa) {
2990
foreach ($dnsa as $rec) {
2991
- $dns_ips[] = $rec['ip'];
+ if(is_array($rec) && isset($rec['ip'])) $dns_ips[] = $rec['ip'];
2992
}
2993
2994
2995
if (checkdnsrr($hostname, 'AAAA')) {
2996
$dnsaaaa=dns_get_record($hostname, DNS_AAAA);
2997
if($dnsaaaa) {
2998
foreach ($dnsaaaa as $rec) {
2999
3000
3001
3002
0 commit comments