From a2183b603aa79005e2c01c41a9e04d719266832e Mon Sep 17 00:00:00 2001 From: osmiy Date: Wed, 10 Jan 2007 14:08:01 +0000 Subject: - added login/logout information into auditlog (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@3685 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/db.inc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'frontends/php/include/db.inc.php') diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index 09069059..ad77bd19 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -463,6 +463,8 @@ if(isset($DB_TYPE) && $DB_TYPE == "ORACLE") { { global $ZBX_CURNODEID; + if(!isset($ZBX_CURNODEID)) init_nodes(); + $row=DBfetch(DBselect("select max($field) as id from $table where ".DBid2nodeid($field)." in (".$ZBX_CURNODEID.")")); if($row && !is_null($row["id"])) { -- cgit