Fixed bug #16545: befunc helpText use wrong variable
authorSteffen Kamper <info@sk-typo3.de>
Tue, 23 Nov 2010 23:14:18 +0000 (23:14 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 23 Nov 2010 23:14:18 +0000 (23:14 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9522 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_befunc.php

index 44831fb..09b1088 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-11-23  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #16545: befunc helpText use wrong variable
        * Fixed bug #14050: CleanUp - CGL format of t3lib files - t3lib_bedisplaylog
        * Fixed bug #14050: CleanUp - CGL format of t3lib files - t3lib_basicfilefunc
        * Fixed bug #14050: CleanUp - CGL format of t3lib files - t3lib_autoloader
index 2db7c42..ea01540 100644 (file)
@@ -2683,12 +2683,12 @@ final class t3lib_BEfunc {
                        $output .= $helpTextArray['description'];
                }
                        // add see also arrow if we have more info
-               if ($data['moreInfo']) {
+               if ($helpTextArray['moreInfo']) {
                        $arrow = t3lib_iconWorks::getSpriteIcon('actions-view-go-forward');
                }
                        // add description text
-               if ($data['description'] || $arrow) {
-                       $output['description'] = '<p class="t3-help-short">' . nl2br(htmlspecialchars($data['description'])) . $arrow . '</p>';
+               if ($helpTextArray['description'] || $arrow) {
+                       $output['description'] = '<p class="t3-help-short">' . nl2br(htmlspecialchars($helpTextArray['description'])) . $arrow . '</p>';
                }
 
                return $output;