PDA

View Full Version : Host Info


paulo
13-09-2007, 16:56
This is my first post...

In the item hosts info exists accountant “UNKNOWN”. I modified query in the archive chostsinfo.php that he counts the registers with AVAILABLE_UNKNOWN.
See..

Templates (status = 3) is excluded from the counting.

53c53
< $db_host_cnt = DBselect("select count(*) as cnt from hosts where status <> 3 AND available=".HOST_AVAILABLE_UNKNOWN);
---
> $db_host_cnt = DBselect("select count(*) as cnt from hosts where available=".HOST_AVAILABLE_UNKNOWN);


'Paulo Henrique