fix(cgi-bin): correct host_uuid existence check in set_power

main
Tsu-ba-me 4 years ago
parent f966ed12fb
commit e80ebdb8b4
  1. 2
      cgi-bin/set_power

@ -182,7 +182,7 @@ if ($anvil_uuid)
}
elsif ($host_uuid)
{
if (exists $anvil->data->{hosts}{host_uuid}{$anvil_uuid})
if (exists $anvil->data->{hosts}{host_uuid}{$host_uuid})
{
set_host_power({ host_uuid => $host_uuid, on => $is_on });
}

Loading…
Cancel
Save