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  c9ef6d37a0959326fba2c559debf8d40045546ea (commit)
      from  d01165c14bc1e57c1499ad040c9f1359a1a6b30f (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=c9ef6d37a0959326fba2c559debf8d40045546ea

commit c9ef6d37a0959326fba2c559debf8d40045546ea
Author: Roland Mas <[email protected]>
Date:   Tue Jun 16 17:23:04 2015 +0200

    Removed PHP notice

diff --git a/src/www/themes/funky-twig/Theme.class.php 
b/src/www/themes/funky-twig/Theme.class.php
index 03993dd..8d9eb7c 100644
--- a/src/www/themes/funky-twig/Theme.class.php
+++ b/src/www/themes/funky-twig/Theme.class.php
@@ -377,7 +377,9 @@ class Theme_Funky_Twig extends Theme_Funky {
                $vars['feedback'] = $GLOBALS['feedback'];
 
                // Project-specific submenu
-               $vars['submenu'] = $params['submenu'];
+               if (isset($params['submenu'])) {
+                       $vars['submenu'] = $params['submenu'];
+               }
 
                print $this->renderTemplate('bodyHeader.html', $vars);
        }

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

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


hooks/post-receive
-- 
FusionForge

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

Reply via email to