Correction : suite

This commit is contained in:
xdrm-brackets 2016-07-08 17:53:50 +02:00
parent 810191f08b
commit 271e1b75bd
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@
AND cm.id_entity = m.id_machine AND cm.id_entity = m.id_machine
AND m.id_warehouse = :id_warehouse AND m.id_warehouse = :id_warehouse
AND cm.id_entity = :id_machine AND cm.id_entity = :id_machine
AND cm.class = :class AND c.class = :class
ORDER BY c.id_cluster"); ORDER BY c.id_cluster");
$get_clusters->execute([ $get_clusters->execute([
':id_warehouse' => $id_warehouse, ':id_warehouse' => $id_warehouse,

View File

@ -115,7 +115,7 @@
WHERE cm.id_cluster = c.id_cluster WHERE cm.id_cluster = c.id_cluster
AND cm.id_entity = u.id_user AND cm.id_entity = u.id_user
AND cm.id_entity = :id_user AND cm.id_entity = :id_user
AND cm.class = :class AND c.class = :class
AND u.id_warehouse = :id_warehouse AND u.id_warehouse = :id_warehouse
ORDER BY c.id_cluster"); ORDER BY c.id_cluster");
$get_clusters->execute([ $get_clusters->execute([