summaryrefslogtreecommitdiffstats
path: root/frontends/php/services_form.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-29 09:23:08 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-29 09:23:08 +0000
commitbf6f03c29afb2d966898e15a09616002ee435518 (patch)
tree66528fa4e4474aabf3f553242cb030d767a45d3c /frontends/php/services_form.php
parentb217a4ca56bfe943048a00754bb911d4cb84f1b0 (diff)
- more fixes for IT services
git-svn-id: svn://svn.zabbix.com/trunk@4191 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/services_form.php')
-rw-r--r--frontends/php/services_form.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/services_form.php b/frontends/php/services_form.php
index 522a058f..b4fc22fc 100644
--- a/frontends/php/services_form.php
+++ b/frontends/php/services_form.php
@@ -193,7 +193,7 @@ if(isset($_REQUEST['pservices'])){
$table->AddRow(array(array($prefix,$description),S_NONE,$trigger));
//-----
if(isset($service)){
- get_service_childs($service['serviceid'],$childs = array(),1);
+ $childs = get_service_childs($service['serviceid'],1);
$childs_str = implode(',',$childs);
(!empty($childs_str))?($childs_str.=','):('');
@@ -271,7 +271,7 @@ if(isset($_REQUEST['cservices'])){
$table->SetHeader(array(S_SERVICE,S_STATUS_CALCULATION,S_TRIGGER));
if(isset($service)){
- get_service_childs($service['serviceid'],$childs = array(),1);
+ $childs = get_service_childs($service['serviceid'],1);
$childs_str = implode(',',$childs);
(!empty($childs_str))?($childs_str.=','):('');
@@ -755,4 +755,4 @@ if(isset($_REQUEST['sform'])){
include_once "include/page_footer.php";
-?> \ No newline at end of file
+?>