diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-12-04 14:09:20 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-12-04 14:09:20 +0000 |
commit | e60d0a621808d3cd8168a3393cfee65e3898be6d (patch) | |
tree | 36c543e98da9ddf6816467e2dd9c153692391281 /frontends/php/tr_status.php | |
parent | 660617bcd67a492b9844bf187bd99c66d88d2e1e (diff) | |
download | zabbix-e60d0a621808d3cd8168a3393cfee65e3898be6d.tar.gz zabbix-e60d0a621808d3cd8168a3393cfee65e3898be6d.tar.xz zabbix-e60d0a621808d3cd8168a3393cfee65e3898be6d.zip |
- fixes for PHP5 (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1524 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/tr_status.php')
-rw-r--r-- | frontends/php/tr_status.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php index 9a13fef9..f3fd6e44 100644 --- a/frontends/php/tr_status.php +++ b/frontends/php/tr_status.php @@ -430,43 +430,43 @@ $description="<A HREF=\"tr_status.php?sort=description&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">".S_DESCRIPTION."</a>"; } if($compact!='true') {$description=$description."<BR><FONT SIZE=-1>".S_EXPRESSION."</FONT></B>";} - $header=array_merge($header,$description); - $header=array_merge($header,S_STATUS); + $header=array_merge($header,array($description)); + $header=array_merge($header,array(S_STATUS)); if(!isset($sort)||(isset($sort) && $sort=="priority")) { - $header=array_merge($header,S_SEVERITY_BIG); + $header=array_merge($header,array(S_SEVERITY_BIG)); } else { if($select=="TRUE") - $header=array_merge($header,"<A HREF=\"tr_status.php?sort=priority&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">".S_SEVERITY."</a>"); + $header=array_merge($header,array("<A HREF=\"tr_status.php?sort=priority&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">".S_SEVERITY."</a>")); else - $header=array_merge($header,"<A HREF=\"tr_status.php?sort=priority&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">".S_SEVERITY."</a>"); + $header=array_merge($header,array("<A HREF=\"tr_status.php?sort=priority&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">".S_SEVERITY."</a>")); } if(isset($sort) && $sort=="lastchange") { - $header=array_merge($header,nbsp(S_LAST_CHANGE_BIG)); + $header=array_merge($header,array(nbsp(S_LAST_CHANGE_BIG))); } else { if($select=="TRUE") { - $header=array_merge($header,"<A HREF=\"tr_status.php?sort=lastchange&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">".nbsp(S_LAST_CHANGE)."</a>"); + $header=array_merge($header,array("<A HREF=\"tr_status.php?sort=lastchange&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">".nbsp(S_LAST_CHANGE)."</a>")); } else { - $header=array_merge($header,"<A HREF=\"tr_status.php?sort=lastchange&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">".nbsp(S_LAST_CHANGE)."</a>"); + $header=array_merge($header,array("<A HREF=\"tr_status.php?sort=lastchange&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">".nbsp(S_LAST_CHANGE)."</a>")); } } echo "</TD>"; if($noactions!='true') { - $header=array_merge($header,S_ACTIONS); + $header=array_merge($header,array(S_ACTIONS)); } - $header=array_merge($header,S_COMMENTS); + $header=array_merge($header,array(S_COMMENTS)); table_header($header); unset($header); |