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

Commit

Permalink
Update DB-Func.php
Browse files Browse the repository at this point in the history
To fix the bug #5990 which in my opinion is a Blocker as it is not possible to save changes on a service template.
  • Loading branch information
remfalc committed Feb 23, 2015
1 parent 169dacb commit 36a751a
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 @@ -1181,7 +1181,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 36a751a

Please sign in to comment.