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.1 has been updated
       via  ac25c60d273d104baa4e9a371541b8e7712114ad (commit)
      from  4674caba21aab432918ebf0a134d56bb8876ef10 (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=ac25c60d273d104baa4e9a371541b8e7712114ad

commit ac25c60d273d104baa4e9a371541b8e7712114ad
Author: Franck Villaume <[email protected]>
Date:   Tue Jan 2 15:31:04 2018 +0000

    avoid empty div

diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 6995006..6352824 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -1292,7 +1292,9 @@ abstract class Layout extends FFError {
                                $html_content .= $this->closeForm();
                        }
                }
-               return html_e('div', $htmlAttr, $html_content, false);
+               if (strlen($html_content) > 0) {
+                       return html_e('div', $htmlAttr, $html_content, false);
+               }
        }
 
        /**

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

Summary of changes:
 src/www/include/Layout.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