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  c05c78a43982d84a1bd7b9841a9ee3cba60b080f (commit)
       via  28461b3449624c4df71c6f42c357252e476807c2 (commit)
      from  b9d39416acd4ee1c36b44b85ec3f2709c0fe2149 (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=c05c78a43982d84a1bd7b9841a9ee3cba60b080f

commit c05c78a43982d84a1bd7b9841a9ee3cba60b080f
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Tue Jul 12 16:33:15 2016 +0200

    PHP Doc

diff --git a/src/www/include/html.php b/src/www/include/html.php
index c8bdc8f..7737944 100644
--- a/src/www/include/html.php
+++ b/src/www/include/html.php
@@ -704,8 +704,8 @@ function html_build_select_box_from_arrays($vals, $texts, 
$select_name,
  * @param      string          $text_100       What to call the '100 row'.  
Defaults to none.
  * @param      bool            $show_any       Whether or not to show the 'Any 
row'
  * @param      string          $text_any       What to call the 'Any row' 
defaults to any
- * @param      bool            $allowed        Unused
- * @param      array   $attrs
+ * @param      bool            $allowed
+ * @param      array           $attrs
  * @return     string
  */
 function html_build_select_box($result, $name, $checked_val = "xzxz",

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=28461b3449624c4df71c6f42c357252e476807c2

commit 28461b3449624c4df71c6f42c357252e476807c2
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Tue Jul 12 16:21:29 2016 +0200

    Fix function Compare

diff --git a/src/common/include/Group.class.php 
b/src/common/include/Group.class.php
index d67071e..5c0e4f6 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -3229,18 +3229,15 @@ class ProjectComparator {
                        }
                        /* If several projects share a same public name */
                        return strcoll ($a->getUnixName(), $b->getUnixName());
-                       break;
                case 'unixname':
                        return strcmp ($a->getUnixName(), $b->getUnixName());
-                       break;
                case 'id':
                        $aid = $a->getID();
                        $bid = $b->getID();
-                       if ($a == $b) {
+                       if ($aid == $bid) {
                                return 0;
                        }
-                       return ($a < $b) ? -1 : 1;
-                       break;
+                       return ($aid < $bid) ? -1 : 1;
                }
        }
 }

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

Summary of changes:
 src/common/include/Group.class.php | 7 ++-----
 src/www/include/html.php           | 4 ++--
 2 files changed, 4 insertions(+), 7 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