summaryrefslogtreecommitdiffstats
path: root/frontends/php/services.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-06-21 09:26:02 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-06-21 09:26:02 +0000
commitfbd1dd6050d785e422df37ab5997004c2b6d5118 (patch)
treee33825f8ed3947b41349980bbaaf87fac13d0986 /frontends/php/services.php
parent01cd848a925015679ea237651e6291cd44129858 (diff)
downloadzabbix-fbd1dd6050d785e422df37ab5997004c2b6d5118.tar.gz
zabbix-fbd1dd6050d785e422df37ab5997004c2b6d5118.tar.xz
zabbix-fbd1dd6050d785e422df37ab5997004c2b6d5118.zip
- fixed selection of IT Service calculation algorithm (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1881 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/services.php')
-rw-r--r--frontends/php/services.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/services.php b/frontends/php/services.php
index 1d41c498..2ba6bcec 100644
--- a/frontends/php/services.php
+++ b/frontends/php/services.php
@@ -221,6 +221,7 @@
$showsla=0;
$goodsla=99.05;
$sortorder=0;
+ $algorithm=0;
unset($triggerid);
}
@@ -265,7 +266,7 @@
echo "<OPTION VALUE='1' SELECTED>".S_MAX_BIG;
echo "<OPTION VALUE='2'>".S_MIN_BIG;
}
- else if($_GET["algorithm"] == SERVICE_ALGORITHM_MIN)
+ else if($algorithm == SERVICE_ALGORITHM_MIN)
{
echo "<OPTION VALUE='0'>".S_DO_NOT_CALCULATE;
echo "<OPTION VALUE='1'>".S_MAX_BIG;