[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 29deb740e1ed0a8a70b5b43354aee38c08201eae

Franck VILLAUME nerville at fusionforge.org
Fri Jan 31 11:36:37 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, Branch_5_3 has been updated
       via  29deb740e1ed0a8a70b5b43354aee38c08201eae (commit)
      from  f1f9b238b3cd378b4f09ac85de1dea0be6284bcc (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 29deb740e1ed0a8a70b5b43354aee38c08201eae
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Jan 31 11:35:48 2014 +0100

    people: fix redirect from project info widget

diff --git a/src/www/people/index.php b/src/www/people/index.php
index bde4324..81a0eda 100644
--- a/src/www/people/index.php
+++ b/src/www/people/index.php
@@ -36,7 +36,11 @@ $category_id = getIntFromRequest('category_id');
 
 if ($group_id) {
 
-	project_admin_header(array());
+	if (forge_check_perm('project_admin', $group_id)) {
+		project_admin_header(array());
+	} else {
+		site_project_header(array('title' => _('Help Wanted System'), 'group' => $group_id, 'toptab' => 'summary'));
+	}
 
 	echo '
 	<p>'._('Here is a list of positions available for this project.').'</p>

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

Summary of changes:
 src/www/people/index.php |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list