[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1414-g8adad06

Franck Villaume nerville at libremir.placard.fr.eu.org
Tue Jan 31 20:17:18 CET 2017


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, master has been updated
       via  8adad06140b2730b467f45925ea441ae47be4a57 (commit)
      from  9d7e3e51026c7b49a4269a1b94772304b97e6faf (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=8adad06140b2730b467f45925ea441ae47be4a57

commit 8adad06140b2730b467f45925ea441ae47be4a57
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Tue Jan 31 20:17:03 2017 +0100

    use util_display_user in renderFiles

diff --git a/src/common/tracker/include/ArtifactTypeHtml.class.php b/src/common/tracker/include/ArtifactTypeHtml.class.php
index dc4af27..c7705a3 100644
--- a/src/common/tracker/include/ArtifactTypeHtml.class.php
+++ b/src/common/tracker/include/ArtifactTypeHtml.class.php
@@ -6,7 +6,7 @@
  * Copyright 2010 (c) Fusionforge Team
  * Copyright 2011, Franck Villaume - Capgemini
  * Copyright (C) 2011 Alain Peyrat - Alcatel-Lucent
- * Copyright 2014,2016, Franck Villaume - TrivialDev
+ * Copyright 2014,2016-2017, Franck Villaume - TrivialDev
  * Copyright 2016-2017, St├ęphane-Eymeric Bredthauer - TrivialDev
  * http://fusionforge.org
  *
@@ -517,7 +517,7 @@ class ArtifactTypeHtml extends ArtifactType {
 				$return .= '<td>'.human_readable_bytes($file->getSize()).'</td>';
 				$return .= '<td>'.htmlspecialchars($file->getName()).'</td>';
 				$return .= '<td>'.date(_('Y-m-d H:i'), $file->getDate()).'</td>';
-				$return .= '<td>'.$file->getSubmittedUnixName().'</td>';
+				$return .= '<td>'.util_display_user($file->getSubmittedUnixName(), $file->getSubmittedBy(), $file->getSubmittedRealName()).'</td>';
 				$return .= '<td>'.util_make_link('/tracker/download.php/'.$group_id.'/'. $this->getID().'/'. $ah->getID() .'/'.$file->getID().'/'.$file->getName(), htmlspecialchars($file->getName())).'</td>';
 				if (forge_check_perm('tracker', $this->getID(), 'tech')) {
 					$return .= '<td><input type="checkbox" name="delete_file[]" value="'. $file->getID() .'">'._('Delete').'</td>';

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

Summary of changes:
 src/common/tracker/include/ArtifactTypeHtml.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list