Actually display results of Mentor search...
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 9 Feb 2010 01:19:41 +0000 (02:19 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 13 Feb 2010 23:34:03 +0000 (00:34 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/profile.php

index 58bce5f..4bf9813 100644 (file)
@@ -677,7 +677,7 @@ class ProfileModule extends PLModule
             require_once 'userset.inc.php';
             $ufc = $ufb->getUFC();
             $set = new ProfileSet($ufc);
-            $set->addMod('referent', 'Référents');
+            $set->addMod('mentor', 'Référents');
             $set->apply('referent/search', $page, $action, $subaction);
             if ($set->count() > 100) {
                 $page->assign('recherche_trop_large', true);