This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  e86eed859b8aeba69e5f6e35ab49f74bc6c242d2 (commit)
      from  06c542e98b3b6ba1e2a50f1ba6f60409abba8267 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=e86eed859b8aeba69e5f6e35ab49f74bc6c242d2

commit e86eed859b8aeba69e5f6e35ab49f74bc6c242d2
Author: Sylvain Beucler <[email protected]>
Date:   Thu Jun 18 10:31:52 2015 +0200

    user home: fix missing full name when there's a title

diff --git a/src/CHANGES b/src/CHANGES
index ba64ad4..746761f 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -1,6 +1,7 @@
 FusionForge 6.0.1:
 * Accounts: accept elliptic curve ssh keys (Unit 193)
 * Accounts: fix project join request form [#778] (Inria)
+* Accounts: user home: fix missing full name when there's a title (Inria)
 * SCM: fix commit privileges (*_scmro group membership) (Inria)
 * SCM: kill stalled Apache processes (Inria)
 * Forum: fix conflict between attachments and pending attachments [#662] 
(Inria)
diff --git a/src/common/include/user_profile.php 
b/src/common/include/user_profile.php
index 872d213..c89aabb 100644
--- a/src/common/include/user_profile.php
+++ b/src/common/include/user_profile.php
@@ -89,7 +89,7 @@ function user_personal_information($user, $compact = false, 
$title = false) {
                        <tr>
                                <td>'. _('Real Name') . _(': ')  .'</td>';
        $user_title = $user->getTitle();
-       $user_title_name = $user_title ? $user_title .' ' :'' . 
$user->getRealName();
+       $user_title_name = ($user_title ? ($user_title . ' ') : '') . 
$user->getRealName();
        $html .= '<td>
                                <div rev="foaf:account">
                                        <div about="#me" typeof="foaf:Person">

-----------------------------------------------------------------------

Summary of changes:
 src/CHANGES                         | 1 +
 src/common/include/user_profile.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to