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

fix(acl) undefined variable host id #5891

Merged
merged 2 commits into from
Nov 16, 2017
Merged

Conversation

loiclau
Copy link
Contributor

@loiclau loiclau commented Nov 15, 2017

No description provided.

@@ -1594,7 +1594,7 @@ public function updateACL($data = null)
// Put new entries in the table with group_id
foreach ($groupIds as $group_id) {
$request2 = "INSERT INTO centreon_acl (host_id, service_id, group_id) "
. "VALUES ('" . $host_id . "', NULL, " . $group_id . ")";
. "VALUES ('" . $data["id"] . "', NULL, " . $group_id . ")";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'aurais plus mis $data['id'] que $data["id"]

@loiclau loiclau merged commit 6b85d71 into 2.8.x Nov 16, 2017
@loiclau loiclau deleted the fix-undefine-variable-acl branch November 16, 2017 14:41
@adr-mo
Copy link
Contributor

adr-mo commented Dec 6, 2017

Related to #5945

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants