From f0ea6cf4946a2f0ae5245d9c335a1096ea833131 Mon Sep 17 00:00:00 2001 From: SeekDaSky Date: Tue, 6 Mar 2018 14:27:27 +0100 Subject: [PATCH] fix filter --- build/api/module/professor/filterController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }