summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/page_header.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-20 08:15:04 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-20 08:15:04 +0000
commit6553086bcd2e5135a4ffd1721dc702d1dd523866 (patch)
tree498b264452d8cf1a73078d67814df4f99f85ca78 /frontends/php/include/page_header.php
parentd36aeae3b8fa5359063fad31aeb219b146c6f124 (diff)
downloadzabbix-6553086bcd2e5135a4ffd1721dc702d1dd523866.tar.gz
zabbix-6553086bcd2e5135a4ffd1721dc702d1dd523866.tar.xz
zabbix-6553086bcd2e5135a4ffd1721dc702d1dd523866.zip
- [DEV-137] fixed installation warning (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5718 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/page_header.php')
-rw-r--r--frontends/php/include/page_header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php
index 858dd33c..11cf0141 100644
--- a/frontends/php/include/page_header.php
+++ b/frontends/php/include/page_header.php
@@ -74,7 +74,7 @@ COpt::profiling_start("page");
if(!isset($page['title'])) $page['title'] = 'ZABBIX';
if(defined('ZBX_DISTRIBUTED')){
- if($curr_node_data = DBfetch(DBselect('select * from nodes where nodeid='.get_current_nodeid(false))))
+ if(isset($DB['DB']) && ($curr_node_data = DBfetch(DBselect('select * from nodes where nodeid='.get_current_nodeid(false)))))
$page['title'] .= ' ('.$curr_node_data['name'].')';
}
@@ -594,4 +594,4 @@ COpt::compare_files_with_menu($ZBX_MENU);
}
show_messages();
-?>
+?> \ No newline at end of file