X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fprofile%2Fgeneral.inc.php;h=817b9a9c54123cffe2bd672524ac42b0de2188fc;hb=25b261b1e0c8745d1f134f1a082e428ab50bd811;hp=c89c11c5a19323a9e3acf09b09376de541ac5710;hpb=f4b047042ba94654e9098ad9039b92fc106fff09;p=platal.git diff --git a/modules/profile/general.inc.php b/modules/profile/general.inc.php index c89c11c..817b9a9 100644 --- a/modules/profile/general.inc.php +++ b/modules/profile/general.inc.php @@ -558,9 +558,6 @@ class ProfileSettingGeneral extends ProfilePage LEFT JOIN profile_phones AS pp ON (pp.pid = p.pid AND link_type = 'user') WHERE p.pid = {?}", $this->pid()); $this->values = $res->fetchOneAssoc(); - if ($this->owner) { - $this->values['yourself'] = $this->owner->displayName(); - } // Retreive photo informations $res = XDB::query("SELECT pub @@ -665,7 +662,7 @@ class ProfileSettingGeneral extends ProfilePage $page->assign('edu_fields', $res->fetchAllAssoc()); require_once "emails.combobox.inc.php"; - fill_email_combobox($page, $this->owner, $this->profile); + fill_email_combobox($page, $this->owner); $res = XDB::query("SELECT nw.nwid AS type, nw.name FROM profile_networking_enum AS nw