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  a6a5c74d38e2a9f11290777bb7920de0d99b8598 (commit)
      from  d00d3e0560548f15c8c5e6af088e3c6d81398f6e (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=a6a5c74d38e2a9f11290777bb7920de0d99b8598

commit a6a5c74d38e2a9f11290777bb7920de0d99b8598
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Wed Mar 15 14:13:03 2017 +0100

    Avoid empty <a>

diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 45aad53..9967dc3 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -690,7 +690,7 @@ if (isset($params['group']) && $params['group']) {
                                        $thAttrs['title'] = $thTitleArray[$i];
                                }
                                $cell = $titleArray[$i];
-                               if ($linksArray && isset($linksArray[$i])) {
+                               if ($linksArray && !empty($linksArray[$i])) {
                                        $cell = util_make_link($linksArray[$i], 
$titleArray[$i]);
                                }
                                $return .= html_e('th', $thAttrs, $cell, false);

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

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