Fix requete UnassignedUsers

php
Antoine JOURDAIN 1 year ago
parent 81fd523b69
commit a9a7a358b3

@ -281,7 +281,7 @@ class UserGateway extends AbsGateway
public function findUnassignedUsers(): array public function findUnassignedUsers(): array
{ {
try { try {
$query = "SELECT * FROM User_, Be WHERE groupID=NULL AND id = userID AND roleID = 3 "; $query = "SELECT * FROM User_, Be WHERE groupID IS NULL AND id = userID AND roleID = 3 ";
$this->con->executeQuery($query); $this->con->executeQuery($query);
$results = $this->con->getResults(); $results = $this->con->getResults();
$tab = array(); $tab = array();

Loading…
Cancel
Save