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  0b306a8c18c178b1b3b79a65cae66d19a20fee28 (commit)
      from  cb1abbc3b57a02cbf4682ff90f7ebf5294272dbd (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 -----------------------------------------------------------------
commit 0b306a8c18c178b1b3b79a65cae66d19a20fee28
Author: Franck Villaume <[email protected]>
Date:   Thu Jun 26 14:45:18 2014 +0200

    fix alt attr in getPicto function

diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 4fe8cfa..c3b7b09 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -1285,7 +1285,8 @@ if (isset($params['group']) && $params['group']) {
                $otherAttr['title'] = $title;
                if (!$alt) {
                        $otherAttr['alt'] = $title;
-                       $alt = $title;
+               } else {
+                       $otherAttr['alt'] = $alt;
                }
                return html_image($url, $width, $height, $otherAttr);
        }

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

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