Fix to check if domain hash isn't empty

This commit is contained in:
Ilia Ross
2025-04-23 14:15:56 +03:00
parent bb8b926d52
commit 215b1332fc

View File

@@ -46,7 +46,7 @@ if (defined($in{'newpass'})) {
"parent", "");
$d->{'disabled'} && &error($text{'forgot_edisabled'});
}
if ($d) {
if (keys %{$d}) {
# Update in Virtualmin
print &text('forgot_vdoing',
&virtual_server::show_domain_name($d)),"<br>\n";