From 053e091380bdeff1d9a423e1dfdcfcda396045d5 Mon Sep 17 00:00:00 2001 From: artem Date: Fri, 2 Nov 2007 09:49:44 +0000 Subject: - [ZBX-134] merged rev. 4956:4966 of branches/1.4/ (Artem) (fixes for hostid/groupid validation on Node switch) git-svn-id: svn://svn.zabbix.com/trunk@4968 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/config.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontends/php/include/config.inc.php') diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index 2e54580f..24cec730 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -254,9 +254,8 @@ function TODO($msg) { echo "TODO: ".$msg.BR; } // DEBUG INFO!!! global $ZBX_CURRENT_NODEID, $ZBX_CURRENT_SUBNODES, $ZBX_WITH_SUBNODES; if ( !isset($ZBX_CURRENT_NODEID) ) init_nodes(); - $result = ( is_show_subnodes($forse_with_subnodes) ? $ZBX_CURRENT_SUBNODES : $ZBX_CURRENT_NODEID ); - + if ( !is_null($perm) ) { global $USER_DETAILS; -- cgit