[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1900-g1c85172

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Jun 4 12:51:19 CEST 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  1c851724c48c51f0c655ff0e4cc98b00bcc59ebf (commit)
      from  79c527bcd34fd64bb77668cb3d5ddaee75cbea92 (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=1c851724c48c51f0c655ff0e4cc98b00bcc59ebf

commit 1c851724c48c51f0c655ff0e4cc98b00bcc59ebf
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Jun 4 12:51:00 2017 +0200

    fix pm tasks and use getPermalink

diff --git a/src/www/my/dashboard.php b/src/www/my/dashboard.php
index e126cf8..d547c21 100644
--- a/src/www/my/dashboard.php
+++ b/src/www/my/dashboard.php
@@ -8,7 +8,7 @@
  * Copyright 2009-2010, Roland Mas
  * Copyright (C) 2012 Alain Peyrat - Alcatel-Lucent
  * Copyright (C) 2012-2013 Marc-Etienne Vargenau - Alcatel-Lucent
- * Copyright 2013,2016, Franck Villaume - TrivialDev
+ * Copyright 2013,2016-2017, Franck Villaume - TrivialDev
  * Copyright 2014, St├ęphane-Eymeric Bredthauer
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -137,7 +137,7 @@ if (!session_loggedin()) {
 								$cell_data [] = array_merge((array)$cell_text, $cell_attrs);
 								if ($display_col['summary']) {
 									$cell_attrs = array('class' => 'align-left');
-									$cell_text = util_make_link('/tracker/?func=detail&aid='.$art->getID().'&group_id='.$p->getID().'&atid='.$ath->getID(), $art->getSummary());
+									$cell_text = util_make_link($art->getPermalink(), $art->getSummary());
 									$cell_data [] = array_merge((array)$cell_text, $cell_attrs);
 								}
 								if ($display_col['changed']) {
@@ -169,13 +169,13 @@ if (!session_loggedin()) {
 									$result_tasks = $art->getRelatedTasks();
 									if($result_tasks) {
 										$cell_text ='';
-										$taskcount = db_numrows($art->relatedtasks);
+										$taskcount = db_numrows($art->getRelatedTasks());
 										if ($taskcount > 0) {
 											for ($itask = 0; $itask < $taskcount; $itask++) {
 												if($itask>0)
 													$cell_text .= html_e('br');
 
-												$taskinfo = db_fetch_array($art->relatedtasks, $itask);
+												$taskinfo = db_fetch_array($art->getRelatedTasks(), $itask);
 												$taskid = $taskinfo['project_task_id'];
 												$projectid = $taskinfo['group_project_id'];
 												$groupid   = $taskinfo['group_id'];

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

Summary of changes:
 src/www/my/dashboard.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list