diff --git a/ssl/panel/class/m_ssl.php b/ssl/panel/class/m_ssl.php index c1af10ef..b37ecf2c 100644 --- a/ssl/panel/class/m_ssl.php +++ b/ssl/panel/class/m_ssl.php @@ -468,7 +468,7 @@ class m_ssl { $found = true; break; } - $offset = strpos($fqdn, ".", $offset); + $offset = strpos($fqdn, ".", $offset+1); } while (true); if (!$found) { echo "FATAL: didn't found fqdn $fqdn in sub_domaines table !\n";