diff options
Diffstat (limited to 'Core/Functions/func_search.php')
| -rw-r--r-- | Core/Functions/func_search.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Functions/func_search.php b/Core/Functions/func_search.php index 9575026..54a0cda 100644 --- a/Core/Functions/func_search.php +++ b/Core/Functions/func_search.php @@ -14,10 +14,10 @@ function search($request, $isResearch) { // Si c'est une recherche. if ($isResearch) { switch ($isResearch) { - case 1: + case "lastname": $result = $dbsearch->get_pro_info_by_lastname($request); break; - case 2: + case "jobid": $result = $dbsearch->get_all_pro_by_jobid($request); break; default: |
