X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile%2Fjobs.inc.php;h=33690c4abef66888535f52d2b65d970e7f70c3f6;hb=839a80cf2662cc418335b3e92f255192e46793b0;hp=e7e4321b1facb67d31560ffb5b9aae9ac5cd7e55;hpb=f378b61c734d0875185b85db6f9c8d941607bec5;p=platal.git diff --git a/modules/profile/jobs.inc.php b/modules/profile/jobs.inc.php index e7e4321..33690c4 100644 --- a/modules/profile/jobs.inc.php +++ b/modules/profile/jobs.inc.php @@ -1,6 +1,6 @@ settings['cv'] = null; $this->settings['jobs'] = new ProfileJob(); + $this->watched['cv'] = $this->watched['jobs'] = true; } protected function _fetchData() @@ -151,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();