From d82f4f660f480ecbc7eaf5e7fd42140803908cfb Mon Sep 17 00:00:00 2001 From: artem Date: Mon, 7 Jan 2008 13:29:16 +0000 Subject: - [ZBX-246] fixed header error in Monitoring->slideshows (Artem) - added history view in ackowledge screen (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5231 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/perm.inc.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'frontends/php/include/perm.inc.php') diff --git a/frontends/php/include/perm.inc.php b/frontends/php/include/perm.inc.php index 5354e087..c3451358 100644 --- a/frontends/php/include/perm.inc.php +++ b/frontends/php/include/perm.inc.php @@ -69,8 +69,7 @@ } } - if(!$USER_DETAILS) - { + if(!$USER_DETAILS){ if(!($USER_DETAILS = DBfetch(DBselect("select u.* from users u where u.alias=".zbx_dbstr(ZBX_GUEST_USER). " and ".DBin_node('u.userid', $ZBX_LOCALNODEID))))) { @@ -78,8 +77,7 @@ } } - if($USER_DETAILS) - { + if($USER_DETAILS){ $USER_DETAILS['node'] = DBfetch(DBselect('select * from nodes where nodeid='.id2nodeid($USER_DETAILS['userid']))); if(empty($USER_DETAILS['node'])) { @@ -87,8 +85,7 @@ $USER_DETAILS['node']['nodeid'] = $ZBX_LOCALNODEID; } } - else - { + else{ $USER_DETAILS = array( "alias" =>ZBX_GUEST_USER, "userid"=>0, -- cgit