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  b6b7e5ce395b40bd5c1aa076c201c7bece978830 (commit)
      from  d30c66e7357c748a0d6a7e361acd36e44c49ee21 (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=b6b7e5ce395b40bd5c1aa076c201c7bece978830

commit b6b7e5ce395b40bd5c1aa076c201c7bece978830
Author: Franck Villaume <[email protected]>
Date:   Sat Sep 10 12:45:07 2016 +0200

    openForm: fix PHP warning when no action set

diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 519289a..e03e9d8 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -1486,8 +1486,9 @@ if (isset($params['group']) && $params['group']) {
         * @return      string  html code
         */
        function openForm($args) {
-               $action = $args['action'];
-               $args['action'] = util_make_uri($action);
+               if (isset($args['action'])) {
+                       $args['action'] = util_make_uri($args['action']);
+               }
                return html_ao('form', $args);
        }
 

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

Summary of changes:
 src/www/include/Layout.class.php | 5 +++--
 1 file changed, 3 insertions(+), 2 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