Close #708: Title of profile
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 9 Aug 2007 18:40:34 +0000 (18:40 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 9 Aug 2007 18:40:34 +0000 (18:40 +0000)
 ChangeLog           |    1 +
 modules/profile.php |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1911 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
modules/profile.php

index 12902a8..3f33f58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,7 @@ Bug/Wish:
         - #689: Edit my profile from Xnet                                  -FRU
         - #692: Layout of the profile                                      -FRU
         - #693: Fix empty description for generic education                -FRU
+        - #708: Fix title (fix by Laurent Penou from Gadz.org)             -FRU
 
     * Xnet:
         - #694: Color of 'Promotion' groups                                -ALK
index 3755368..ac9d002 100644 (file)
@@ -188,7 +188,7 @@ class ProfileModule extends PLModule
         $user  = get_user_details($login, S::v('uid'), $view);
         $user['freetext'] = MiniWiki::WikiToHTML($user['freetext']);
         $user['cv']       = MiniWiki::WikiToHTML($user['cv'], true);
-        $title = $user['prenom'] . ' ' . empty($user['nom_usage']) ? $user['nom'] : $user['nom_usage'];
+        $title = $user['prenom'] . ' ' . ( empty($user['nom_usage']) ? $user['nom'] : $user['nom_usage'] );
         $page->assign('xorg_title', $title);
 
         // photo