diff --git a/build/api/module/professor/filterController.php b/build/api/module/professor/filterController.php index 3fa8235..43f2e98 100644 --- a/build/api/module/professor/filterController.php +++ b/build/api/module/professor/filterController.php @@ -66,7 +66,7 @@ class filterController{ // 3. Add in unique set foreach($fetched_ids as $prof_id) - $matches_uniq[ intval($prof_id) ] = null; + $matches_uniq[ intval($prof_id["idProfesseur"]) ] = null; } @@ -94,7 +94,7 @@ class filterController{ // 3. Add in unique set foreach($fetched_ids as $prof_id) - $matches_uniq[ intval($prof_id) ] = null; + $matches_uniq[ intval($prof_id["idProfesseur"]) ] = null; }