[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1539-ga6a5c74

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Wed Mar 15 14:13:08 CET 2017


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 <marc-etienne.vargenau at nokia.com>
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



More information about the Fusionforge-commits mailing list