summaryrefslogtreecommitdiffstats
path: root/frontends/php/hosts.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/hosts.php')
-rw-r--r--frontends/php/hosts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index 8f837d7a..9a21b27d 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -74,7 +74,7 @@
}
if($_GET["register"]=="delete")
{
- $host-get_host_by_hostid($_GET["hostid"]);
+ $host=get_host_by_hostid($_GET["hostid"]);
$result=delete_host($_GET["hostid"]);
if($result)
{