diff options
Diffstat (limited to 'frontends/php/include/forms.inc.php')
| -rw-r--r-- | frontends/php/include/forms.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index 454de271..e1e30728 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -330,7 +330,7 @@ echo S_HOST; show_table2_h_delimiter(); echo "<select class=\"biginput\" name=\"hostid\" value=\"3\">"; - $result=DBselect("select hostid,host from hosts order by host"); + $result=DBselect("select hostid,host from hosts where status not in (".HOST_STATUS_DELETED.")order by host"); for($i=0;$i<DBnum_rows($result);$i++) { $hostid_=DBget_field($result,$i,0); |
