From: Stéphane Jacob Date: Wed, 16 Jun 2010 16:04:39 +0000 (+0200) Subject: Fetches the name the user wants to be called in profile. X-Git-Tag: xorg/1.0.0~126 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=19167c9fed4eac11bc7e29384e5f3b3cb0bbe4b3;p=platal.git Fetches the name the user wants to be called in profile. Signed-off-by: Stéphane Jacob --- diff --git a/classes/profile.php b/classes/profile.php index 9aeef1d..740eeb3 100644 --- a/classes/profile.php +++ b/classes/profile.php @@ -787,7 +787,7 @@ class Profile pn_f.name AS firstname, pn_l.name AS lastname, pn_n.name AS nickname, IF(pn_uf.name IS NULL, pn_f.name, pn_uf.name) AS firstname_ordinary, IF(pn_ul.name IS NULL, pn_l.name, pn_ul.name) AS lastname_ordinary, - pd.promo AS promo, pd.short_name, pd.directory_name AS full_name, + pd.yourself, pd.promo, pd.short_name, pd.directory_name AS full_name, pd.directory_name, IF(pp.pub IN {?}, pp.display_tel, NULL) AS mobile, (ph.pub IN {?} AND ph.attach IS NOT NULL) AS has_photo, ph.x AS photo_width, ph.y AS photo_height,