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.1 has been updated
       via  b8cd741dc090f4249a0a16971e2c73ca2db67846 (commit)
      from  33b0e9a0ecdfe9b0c9a4c46fcc821cb71368280b (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=b8cd741dc090f4249a0a16971e2c73ca2db67846

commit b8cd741dc090f4249a0a16971e2c73ca2db67846
Author: Franck Villaume <[email protected]>
Date:   Sat Apr 17 10:30:55 2021 +0200

    fix crossref with Tasks

diff --git a/src/common/include/utils_crossref.php 
b/src/common/include/utils_crossref.php
index 6ec7dd7..8aca3f4 100644
--- a/src/common/include/utils_crossref.php
+++ b/src/common/include/utils_crossref.php
@@ -4,7 +4,7 @@
  *
  * Copyright 1999-2001 (c) Alcatel-Lucent
  * Copyright 2009, Roland Mas
- * Copyright 2014-2016, Franck Villaume - TrivialDev
+ * Copyright 2014-2016,2021, Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -42,7 +42,7 @@ function util_gen_cross_ref($text, $group_id) {
        $text = preg_replace_callback('/\[\#(\d+)\]/', 
create_function('$matches', 'return _artifactid2url($matches[1]);'), $text);
 
        // Handle FusionForge [Tnnn] Syntax => links to task.
-       $text = preg_replace_callback('/\[\T(\d+)\]/', 
create_function('$matches', 'return _taskid2url($matches[1],'.$group_id.');'), 
$text);
+       $text = preg_replace_callback('/\[T(\d+)\]/', 
create_function('$matches', 'return _taskid2url($matches[1],'.$group_id.');'), 
$text);
 
        // Handle [wiki:<pagename>] syntax
        $text = preg_replace_callback('/\[wiki:(.*?)\]/', 
create_function('$matches', 'return _page2url('.$group_id.',$matches[1]);'), 
$text);

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

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


hooks/post-receive
-- 
FusionForge

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

Reply via email to