Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from remfalc/patch-1
Browse files Browse the repository at this point in the history
Update DB-Func.php and resolves #3559
  • Loading branch information
kduret committed Aug 10, 2015
2 parents 1ac0887 + 36a751a commit 1a674de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/include/configuration/configObject/service/DB-Func.php
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ function updateService($service_id = null, $from_MC = false, $params = array())
isset($ret["service_notifications_enabled"]["service_notifications_enabled"]) && $ret["service_notifications_enabled"]["service_notifications_enabled"] != 2 ? $rq .= "'".$ret["service_notifications_enabled"]["service_notifications_enabled"]."', " : $rq .= "'2', ";

$rq .= "service_inherit_contacts_from_host = ";
isset($ret["service_inherit_contacts_from_host"]["service_inherit_contacts_from_host"]) && $ret["service_inherit_contacts_from_host"]["service_inherit_contacts_from_host"] != NULL ? $rq .= "'".$ret["service_inherit_contacts_from_host"]["service_inherit_contacts_from_host"]."', " : $rq .= "'NULL', ";
isset($ret["service_inherit_contacts_from_host"]["service_inherit_contacts_from_host"]) && $ret["service_inherit_contacts_from_host"]["service_inherit_contacts_from_host"] != NULL ? $rq .= "'".$ret["service_inherit_contacts_from_host"]["service_inherit_contacts_from_host"]."', " : $rq .= "NULL, ";

$rq.= "contact_additive_inheritance = ";
$rq .= (isset($ret['contact_additive_inheritance']) ? 1 : 0) . ', ';
Expand Down

0 comments on commit 1a674de

Please sign in to comment.