[Fusionforge-commits] FusionForge branch master updated. v6.0.5-2201-ge4225c4

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Thu Sep 28 12:19:41 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  e4225c4024164f7f513fd1ec3065f751374e15cd (commit)
      from  87813ea0ff172fba22ca57bacaa298d00b0dad47 (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=e4225c4024164f7f513fd1ec3065f751374e15cd

commit e4225c4024164f7f513fd1ec3065f751374e15cd
Author: Marc-Etienne Vargenau <marc-etienne.vargenau at nokia.com>
Date:   Thu Sep 28 12:16:38 2017 +0200

    tracker default action: if there is an aid, let us detail ticket with that aid

diff --git a/src/common/tracker/actions/tracker.php b/src/common/tracker/actions/tracker.php
index 226bc5d..b6f63e8 100644
--- a/src/common/tracker/actions/tracker.php
+++ b/src/common/tracker/actions/tracker.php
@@ -651,7 +651,12 @@ switch (getStringFromRequest('func')) {
 		session_redirect('/tracker/?group_id='.$group_id.'&atid='.$atid.'&aid='.$aid, false);
 		break;
 	default : {
-		include $gfcommon.'tracker/actions/browse.php';
+		$aid = getIntFromRequest('aid');
+		if ($aid) {
+			include $gfcommon.'tracker/actions/detail.php';
+		} else {
+			include $gfcommon.'tracker/actions/browse.php';
+		}
 		break;
 	}
 }

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

Summary of changes:
 src/common/tracker/actions/tracker.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list