From: Stéphane Jacob Date: Wed, 10 Dec 2008 18:23:44 +0000 (+0100) Subject: Adapts mentoring to the new sectors. X-Git-Tag: xorg/1.0.0~332^2~344^2~80 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f926f2b8b1a793ba0f5fab44d5080da45522932c;p=platal.git Adapts mentoring to the new sectors. --- diff --git a/modules/profile.php b/modules/profile.php index da843b8..293f3a6 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -612,7 +612,7 @@ class ProfileModule extends PLModule //secteurs $secteurs = $ss_secteurs = Array(); $res = XDB::iterRow( - "SELECT s.label, ss.label + "SELECT s.name AS label, ss.name AS label FROM profile_mentor_sector AS m LEFT JOIN profile_job_sector_enum AS s ON(m.sectorid = s.id) LEFT JOIN profile_job_subsector_enum AS ss ON(m.sectorid = ss.sectorid AND m.subsectorid = ss.id)