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  577c0525ee1be62209fcc7756276a2081c086fb7 (commit)
      from  9cba425bab9988fd359583230139ba1e497f90fb (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=577c0525ee1be62209fcc7756276a2081c086fb7

commit 577c0525ee1be62209fcc7756276a2081c086fb7
Author: Franck Villaume <[email protected]>
Date:   Mon Jan 8 10:36:41 2018 +0000

    globalactivity plugin: avoid double header in case of error

diff --git a/src/plugins/globalactivity/www/index.php 
b/src/plugins/globalactivity/www/index.php
index 1e4323d..6f10eb5 100644
--- a/src/plugins/globalactivity/www/index.php
+++ b/src/plugins/globalactivity/www/index.php
@@ -81,8 +81,6 @@ if (!$plugin) {
        exit_disabled();
 }
 
-site_header(array('title'=>_('Global activity')));
-
 $ids = array();
 $texts = array();
 
@@ -92,6 +90,8 @@ try {
        exit_error($e->getMessage(), 'home');
 }
 
+site_header(array('title'=>_('Global activity')));
+
 if (count($ids) < 1) {
        echo $HTML->information(_('No Activity Found'));
 } else {

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

Summary of changes:
 src/plugins/globalactivity/www/index.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