Commit b06b21f7 authored by Mickaël WLODARCZYK's avatar Mickaël WLODARCZYK Committed by Mickaël Wlodarczyk

Fix #55 : Suppression d'un message d'erreur inutile

Change-Id: I00d4b5eca27a8c5f6789c79a58da519bfb89deef
parent a3315742
......@@ -416,7 +416,7 @@ class SearchController extends BaseController
foreach ($instructors as $instructor) {
$mailRecipients[] = $instructor->getEmail();
}
} elseif ($instructors !== null) {
} elseif ($instructors !== null && $searchStatus !== SearchHelper::SEARCH_STATUS_NOTFIND) {
$this->addFlash(
MessageHelper::MESSAGE_WARNING,
$this->translator->trans('searchResult.noInstructorFound')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment