Fix edition of non well geolocalized jobs
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 22 Oct 2007 18:25:18 +0000 (20:25 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 22 Oct 2007 18:25:18 +0000 (20:25 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/profile/jobs.inc.php

index 1ea4d5d..72f1919 100644 (file)
@@ -152,7 +152,7 @@ class ProfileJobs extends ProfilePage
                                      e.adr_pub, e.tel_pub, e.email_pub,
                                      e.glat AS precise_lat, e.glng AS precise_lon
                                FROM  entreprises AS e
-                         INNER JOIN  geoloc_pays AS gp ON(gp.a2 = e.country)
+                          LEFT JOIN  geoloc_pays AS gp ON(gp.a2 = e.country)
                               WHERE  uid = {?} AND entreprise != ''
                            ORDER BY  entrid", S::i('uid'));
         $this->values['jobs'] = array();