X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Feducation.func.inc.php;h=dbfba28d506e7bd2a5b2fc97ca178c54f79d2244;hb=cd7a9c53f9dfb4c2d33f9340feadcc3dbcfc1876;hp=8bc691c4c0e0311ce8d3fe18782c64093262113a;hpb=0abd0cea70b22676ae32ad04b7bd98e9f7ea4733;p=platal.git
diff --git a/include/education.func.inc.php b/include/education.func.inc.php
index 8bc691c..dbfba28 100644
--- a/include/education.func.inc.php
+++ b/include/education.func.inc.php
@@ -1,6 +1,6 @@
';
+ $html = '';
$res = XDB::iterator("SELECT e.id AS id, gc.countryFR AS country,
IF(CHAR_LENGTH(e.name) > 76, e.abbreviation, e.name) AS name
FROM profile_education_enum AS e
@@ -33,8 +33,11 @@ function education_options($current = 0)
$country = "";
while ($arr_edu = $res->next()) {
if ($arr_edu["country"] != $country) {
+ if ($country) {
+ $html .= '';
+ }
$country = $arr_edu["country"];
- $html .= "