X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fprofile.php;h=6574d0a3b85e8a035b36444df36135a0cda53c9e;hb=54cccfcc1f4e128e0a2c7f0e23c20e10107b9504;hp=eb9839dd51aecb5faaadea95a4c570f1689724bd;hpb=db492b02844731e76d232a9f6c8be252b570e4bb;p=platal.git diff --git a/classes/profile.php b/classes/profile.php index eb9839d..6574d0a 100644 --- a/classes/profile.php +++ b/classes/profile.php @@ -925,10 +925,10 @@ class Profile implements PlExportable public function getPartnerSettings($partner_id) { - if ($this->partners_settings == null && !$this->fetched(self::FETCH_PARTNER)) { + if ($this->partners_settings === null && !$this->fetched(self::FETCH_PARTNER)) { $this->setPartnersSettings($this->getProfileField(self::FETCH_PARTNER)); } - if ($this->partners_settings == null) { + if ($this->partners_settings === null) { return PartnerSettings::getEmpty($partner_id); } return $this->partners_settings->get($partner_id);