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 366acb80f66e535585e78f5d72136bebb009166e (commit)
from 1e245fac98e0f7d18dcf1a81758eb2303036fdb6 (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=366acb80f66e535585e78f5d72136bebb009166e
commit 366acb80f66e535585e78f5d72136bebb009166e
Author: Franck Villaume <[email protected]>
Date: Thu Jan 18 09:34:19 2018 +0000
forum message body: add missing cross_ref support
diff --git a/src/common/forum/ForumHTML.class.php
b/src/common/forum/ForumHTML.class.php
index 60da592..9ddc74a 100644
--- a/src/common/forum/ForumHTML.class.php
+++ b/src/common/forum/ForumHTML.class.php
@@ -218,7 +218,7 @@ class ForumHTML extends FFError {
</tr>
<tr>
<td>
- '. $msg->getBody() .'
+ '. util_gen_cross_ref($msg->getBody(),
$group_id) .'
</td>
</tr>
</table>';
@@ -275,9 +275,9 @@ class ForumHTML extends FFError {
<td colspan="2">
';
if (strpos($msg->getBody(),'<') ===
false) {
- $ret_val .=
nl2br($msg->getBody()); //backwards compatibility for non html messages
+ $ret_val .=
nl2br(util_gen_cross_ref($msg->getBody())); //backwards compatibility for non
html messages
} else {
- $ret_val .= $msg->getBody();
+ $ret_val .=
util_gen_cross_ref($msg->getBody());
}
$ret_val .= '
</td>
-----------------------------------------------------------------------
Summary of changes:
src/common/forum/ForumHTML.class.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits