diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-01 10:11:17 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-01 10:11:17 +0000 |
commit | 61719f5136e0d1876782232ee4d611042654327c (patch) | |
tree | fde98e1f258a57a05535e25bb4081d24c187ec1e /frontends | |
parent | 9e81f66c7cac5715f17f60159dc1e16c3d8cd4a3 (diff) | |
download | zabbix-61719f5136e0d1876782232ee4d611042654327c.tar.gz zabbix-61719f5136e0d1876782232ee4d611042654327c.tar.xz zabbix-61719f5136e0d1876782232ee4d611042654327c.zip |
- [DEV-137] small fix (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5862 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/php/include/blocks.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/blocks.inc.php b/frontends/php/include/blocks.inc.php index 4934dc1e..88a04f1f 100644 --- a/frontends/php/include/blocks.inc.php +++ b/frontends/php/include/blocks.inc.php @@ -376,7 +376,7 @@ function make_status_of_zbx(){ //Log Out 10min $sql = 'SELECT DISTINCT u.userid, MAX(s.lastaccess) as lastaccess, u.autologout, s.status '. ' FROM users u '. - ' LEFT JOIN sessions s ON s.userid=u.userid'. + ' LEFT JOIN sessions s ON s.userid=u.userid AND s.status='.ZBX_SESSION_ACTIVE. ' WHERE '.DBin_node('u.userid'). ' GROUP BY u.userid'; |