[Fusionforge-commits] FusionForge branch master updated. 32984cd9f055f86a9bd013a8ae5a92376beecc36
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Sun Feb 2 19:40:43 CET 2014
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 32984cd9f055f86a9bd013a8ae5a92376beecc36 (commit)
from 4461130181525e1198306948fe534dca1d769164 (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 -----------------------------------------------------------------
commit 32984cd9f055f86a9bd013a8ae5a92376beecc36
Author: vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date: Sun Feb 2 19:43:06 2014 +0100
Translate message
diff --git a/src/common/forum/AttachManager.class.php b/src/common/forum/AttachManager.class.php
index 03aadf9..aadc2b8 100644
--- a/src/common/forum/AttachManager.class.php
+++ b/src/common/forum/AttachManager.class.php
@@ -139,7 +139,7 @@ class AttachManager extends Error {
$f = $msg->getForum();
if (!$f || !is_object($f)) {
- exit_error('Error', _('Could Not Get Forum Object'));
+ exit_error(_('Could Not Get Forum Object'),'forums');
} else {
if ( ((user_getid() == $attach_userid)
|| (forge_check_perm ('forum_admin', $f->Group->getID())))
@@ -152,7 +152,7 @@ class AttachManager extends Error {
//add attach for existing message
$f = $msg->getForum();
if (!$f || !is_object($f)) {
- exit_error('Error','Could Not Get Forum Object');
+ exit_error(_('Could Not Get Forum Object'),'forums');
} else {
// $attach = html_image('ic/cfolder15.png',"15","13") . _('No attachment found');
$attach = '';
-----------------------------------------------------------------------
Summary of changes:
src/common/forum/AttachManager.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list