summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/perm.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-07 13:29:16 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-01-07 13:29:16 +0000
commitd82f4f660f480ecbc7eaf5e7fd42140803908cfb (patch)
treeb930c8c59d2e26f3304da5a234a5c8ca78f58458 /frontends/php/include/perm.inc.php
parent5bbc8ab6911eeeb79bc6f88dab5f53394de3b630 (diff)
downloadzabbix-d82f4f660f480ecbc7eaf5e7fd42140803908cfb.tar.gz
zabbix-d82f4f660f480ecbc7eaf5e7fd42140803908cfb.tar.xz
zabbix-d82f4f660f480ecbc7eaf5e7fd42140803908cfb.zip
- [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
Diffstat (limited to 'frontends/php/include/perm.inc.php')
-rw-r--r--frontends/php/include/perm.inc.php9
1 files changed, 3 insertions, 6 deletions
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,