summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 09:48:37 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 09:48:37 +0000
commit1a905d3eb218ca22dcd24f7121ad0c19ef6e8c90 (patch)
tree1a9834593d4a01b9f63f1c1c96ec1501ddb61c39 /frontends/php/include/forms.inc.php
parent8fcbf55a381b1a209266981aebff5f5a53d39e83 (diff)
downloadzabbix-1a905d3eb218ca22dcd24f7121ad0c19ef6e8c90.tar.gz
zabbix-1a905d3eb218ca22dcd24f7121ad0c19ef6e8c90.tar.xz
zabbix-1a905d3eb218ca22dcd24f7121ad0c19ef6e8c90.zip
- fixed undefined vars
git-svn-id: svn://svn.zabbix.com/trunk@3483 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 339a89a1..83d465e6 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -777,10 +777,10 @@
$arr_of_dellays = explode(";",$db_delay_flex);
foreach($arr_of_dellays as $one_db_delay)
{
- @list($one_delay,$one_time_period) = explode("/",$one_db_delay);
- if(!isset($one_delay) || !isset($one_time_period)) continue;
+ $arr_of_delay = explode("/",$one_db_delay);
+ if(!isset($arr_of_delay[0]) || !isset($arr_of_delay[1])) continue;
- array_push($delay_flex,array("delay"=>$one_delay,"period"=>$one_time_period));
+ array_push($delay_flex,array("delay"=>$arr_of_delay[0],"period"=>$arr_of_delay[1]));
}
}