diff --git a/search/LISEZMOI.txt b/search/LISEZMOI.txt index 8780ee3f741..55026e58236 100644 --- a/search/LISEZMOI.txt +++ b/search/LISEZMOI.txt @@ -1,5 +1,5 @@ Cette distribution partielle contient une refonte du moteur de -recherche globalde Moodle. +recherche globale de Moodle. Le moteur de recherche est capable d'indexer et de rechercher des informations dans un grand nombre de contenus stockés diff --git a/search/query.php b/search/query.php index 5d839891880..47b4e78f04f 100644 --- a/search/query.php +++ b/search/query.php @@ -43,7 +43,7 @@ } if (empty($CFG->enableglobalsearch)) { - error(get_string('globalsearchdisabled', 'search')); + print_error('globalsearchdisabled', 'search'); } $adv = new Object(); @@ -335,14 +335,15 @@ print "