[Fusionforge-commits] FusionForge branch master updated. 6.0.4-649-g6088d71
Marc-Etienne VARGENAU
vargenau at libremir.placard.fr.eu.org
Tue Jul 5 10:51:31 CEST 2016
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 6088d71b0ccb5986aea9aaebb11a60eb5578f512 (commit)
from d3ad411506795d5c9c8da736f20c0fe54dd040bd (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=6088d71b0ccb5986aea9aaebb11a60eb5578f512
commit 6088d71b0ccb5986aea9aaebb11a60eb5578f512
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date: Tue Jul 5 10:51:26 2016 +0200
function forum_header: add default value
diff --git a/src/common/forum/ForumHTML.class.php b/src/common/forum/ForumHTML.class.php
index f027897..1f2b67c 100644
--- a/src/common/forum/ForumHTML.class.php
+++ b/src/common/forum/ForumHTML.class.php
@@ -32,7 +32,7 @@ require_once $gfwww.'news/news_utils.php';
require_once $gfcommon.'forum/ForumAdmin.class.php';
require_once $gfcommon.'forum/AttachManager.class.php';
-function forum_header($params) {
+function forum_header($params = array()) {
global $HTML, $group_id, $forum_id, $f, $group_forum_id;
if ($group_forum_id) {
diff --git a/src/www/forum/admin/pendingmsgdetail.php b/src/www/forum/admin/pendingmsgdetail.php
index 9fce10d..1d2267f 100644
--- a/src/www/forum/admin/pendingmsgdetail.php
+++ b/src/www/forum/admin/pendingmsgdetail.php
@@ -64,7 +64,7 @@ if (!$fhtml || !is_object($fhtml)) {
} elseif ($fhtml->isError()) {
exit_error($fhtml->getErrorMessage(),'forums');
}
-forum_header(array());
+forum_header();
echo $fhtml->showPendingMessage($fm);
$HTML->footer();
-----------------------------------------------------------------------
Summary of changes:
src/common/forum/ForumHTML.class.php | 2 +-
src/www/forum/admin/pendingmsgdetail.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list