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, feature/twig-template-engine has been updated
       via  8b1983c6f7121012f235b46004a6a2a604c63af9 (commit)
      from  af14a2d8f4981c2390bd32e8ac106fc3fd1f26e8 (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 8b1983c6f7121012f235b46004a6a2a604c63af9
Author: Roland Mas <[email protected]>
Date:   Fri Jun 12 10:18:05 2015 +0200

    Fixed project tabs

diff --git a/src/www/themes/funky-twig/Theme.class.php 
b/src/www/themes/funky-twig/Theme.class.php
index fbe3ebe..57a5047 100644
--- a/src/www/themes/funky-twig/Theme.class.php
+++ b/src/www/themes/funky-twig/Theme.class.php
@@ -340,7 +340,7 @@ class Theme extends Layout {
                $projecttabsdata = array();
                if (isset($params['group']) && $params['group']) {
                        $menu = 
$this->navigation->getProjectMenu($params['group'], $params['toptab']);
-                       for ($i = 0; $i < count($menu); $i++) {
+                       for ($i = 0; $i < count($menu['urls']); $i++) {
                                $d = array('href' => $menu['urls'][$i],
                                                   'id' => 
md5($menu['urls'][$i]),
                                                   'title' => 
$menu['titles'][$i],

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

Summary of changes:
 src/www/themes/funky-twig/Theme.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/www/themes/funky-twig/Theme.class.php 
b/src/www/themes/funky-twig/Theme.class.php
index fbe3ebe..57a5047 100644
--- a/src/www/themes/funky-twig/Theme.class.php
+++ b/src/www/themes/funky-twig/Theme.class.php
@@ -340,7 +340,7 @@ class Theme extends Layout {
                $projecttabsdata = array();
                if (isset($params['group']) && $params['group']) {
                        $menu = 
$this->navigation->getProjectMenu($params['group'], $params['toptab']);
-                       for ($i = 0; $i < count($menu); $i++) {
+                       for ($i = 0; $i < count($menu['urls']); $i++) {
                                $d = array('href' => $menu['urls'][$i],
                                                   'id' => 
md5($menu['urls'][$i]),
                                                   'title' => 
$menu['titles'][$i],


hooks/post-receive
-- 
FusionForge

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

Reply via email to