Private GIT

Skip to content
Snippets Groups Projects
Commit edfa60e8 authored by loiclau's avatar loiclau
Browse files

* fix insert query in share custom view method

parent 94b035c4
No related branches found
No related tags found
No related merge requests found
...@@ -775,7 +775,7 @@ class CentreonCustomView ...@@ -775,7 +775,7 @@ class CentreonCustomView
} else { } else {
$query = 'INSERT INTO custom_view_user_relation ' . $query = 'INSERT INTO custom_view_user_relation ' .
'(custom_view_id, usergroup_id, locked, is_consumed, is_share ) ' . '(custom_view_id, usergroup_id, locked, is_consumed, is_share ) ' .
'VALUES ?, ?, ?, 0, 1) '; 'VALUES (?, ?, ?, 0, 1) ';
$stmt = $this->db->prepare($query); $stmt = $this->db->prepare($query);
$res = $this->db->execute( $res = $this->db->execute(
$stmt, $stmt,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment