Fixed bug #14503: HTML is shown in sysext belog after the usage of the sprite api...
authorOliver Hader <oliver.hader@typo3.org>
Fri, 28 May 2010 13:44:40 +0000 (13:44 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 28 May 2010 13:44:40 +0000 (13:44 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7716 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_bedisplaylog.php

index 6885cbe..6054ffa 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-28  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #14503: HTML is shown in sysext belog after the usage of the sprite api for icons (thanks to Andy Grunwald)
+
 2010-05-28 Francois Suter  <francois@typo3.org>
 
        * Fixed bug: #13315: Scheduler: Failed status hides other statuses
index b111023..b8668e9 100644 (file)
@@ -212,8 +212,10 @@ class t3lib_BEDisplayLog {
                        $text .= ' ' . sprintf($GLOBALS['LANG']->getLL('changesInFields'), '<em>' . $newRow['fieldlist'] . '</em>');
                        $text .= ' <a href="' . htmlspecialchars($GLOBALS['BACK_PATH'] . 'show_rechis.php?sh_uid=' . $newRow['uid'] .
                                        '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))) . '">' .
-                                       t3lib_iconWorks::getSpriteIcon('actions-document-history-open') .
-                                       ' title="' . $GLOBALS['LANG']->getLL('showHistory') . '" alt="" />' .
+                                       t3lib_iconWorks::getSpriteIcon(
+                                               'actions-document-history-open',
+                                               array('title' => $GLOBALS['LANG']->getLL('showHistory'))
+                                       ) .
                                        '</a>';
                }