X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Feducation.func.inc.php;h=cb25855f40a624b39fdff8f823a6cb0aeb6c2dce;hb=abc8b908704ff4cf1afe51aef381557f678f7982;hp=9c7ab441d404d8c9192cd07e645674b38be448ef;hpb=12262f1306059765d8625a6752364679c8625d31;p=platal.git diff --git a/include/education.func.inc.php b/include/education.func.inc.php index 9c7ab44..cb25855 100644 --- a/include/education.func.inc.php +++ b/include/education.func.inc.php @@ -28,8 +28,9 @@ function education_options($current = 0) LEFT JOIN geoloc_countries AS gc ON (e.country = gc.iso_3166_1_a2) WHERE EXISTS (SELECT * FROM profile_education_degree AS d - WHERE e.id = d.eduid) - ORDER BY gc.country, e.name"); + WHERE e.id = d.eduid) AND e.name != {?} + ORDER BY gc.country, e.name", + Profile::EDU_X); $country = ""; while ($arr_edu = $res->next()) { if ($arr_edu["country"] != $country) {