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.0 has been updated
       via  47f7c9bf97f911694600a320c5596af8a3979549 (commit)
      from  c5a26fd16764e9cde1fb782552dcae0d13838b97 (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 47f7c9bf97f911694600a320c5596af8a3979549
Author: Sylvain Beucler <[email protected]>
Date:   Tue Jun 2 15:40:44 2015 +0200

    widgets: only display user's active projects

diff --git a/src/common/widget/Widget_MyProjects.class.php 
b/src/common/widget/Widget_MyProjects.class.php
index 64f01f0..171d367 100644
--- a/src/common/widget/Widget_MyProjects.class.php
+++ b/src/common/widget/Widget_MyProjects.class.php
@@ -55,6 +55,7 @@ class Widget_MyProjects extends Widget {
                        $i = 0;
                        $ra = RoleAnonymous::getInstance();
                        foreach ($groups as $g) {
+                               if ($g->getStatus() != 'A') continue;
                                $i++;
                                $html_my_projects .= '
                                <tr '. $HTML->boxGetAltRowStyle($i) .'><td 
style="width:99%">'.

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

Summary of changes:
 src/common/widget/Widget_MyProjects.class.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/widget/Widget_MyProjects.class.php 
b/src/common/widget/Widget_MyProjects.class.php
index 64f01f0..171d367 100644
--- a/src/common/widget/Widget_MyProjects.class.php
+++ b/src/common/widget/Widget_MyProjects.class.php
@@ -55,6 +55,7 @@ class Widget_MyProjects extends Widget {
                        $i = 0;
                        $ra = RoleAnonymous::getInstance();
                        foreach ($groups as $g) {
+                               if ($g->getStatus() != 'A') continue;
                                $i++;
                                $html_my_projects .= '
                                <tr '. $HTML->boxGetAltRowStyle($i) .'><td 
style="width:99%">'.


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to