Fixed bug #3649: Call to a member function formWidth() on object
authorAndreas Otto <andreas.otto@dkd.de>
Sat, 28 Apr 2007 19:53:57 +0000 (19:53 +0000)
committerAndreas Otto <andreas.otto@dkd.de>
Sat, 28 Apr 2007 19:53:57 +0000 (19:53 +0000)
$GLOBALS['TBE_TEMPLATE'] instead on $GLOBALS['SOBE']. Thanks to Chi
Hoang for the patch.

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-0@2297 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list.inc

index ce83c58..b6ac5ce 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-04-28     Andreas Otto <andreas.otto@dkd.de>
+       * Fixed bug #3649: Call to a member function formWidth() on object $GLOBALS['TBE_TEMPLATE'] instead on $GLOBALS['SOBE'].
+
 2007-04-03  Michael Stucki  <michael@typo3.org>
 
        * Release of TYPO3 4.0.6
index 5550153..9f59de1 100755 (executable)
@@ -302,7 +302,7 @@ class recordList extends t3lib_recordList {
                                                <td><input type="submit" name="search" value="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.search',1).'" /></td>
                                        </tr>
                                        <tr>
-                                               <td colspan="3">'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showRecords',1).':<input type="text" name="showLimit" value="'.htmlspecialchars($this->showLimit?$this->showLimit:'').'"'.$GLOBALS['SOBE']->doc->formWidth(4).' /></td>
+                                               <td colspan="3">'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showRecords',1).':<input type="text" name="showLimit" value="'.htmlspecialchars($this->showLimit?$this->showLimit:'').'"'.$GLOBALS['TBE_TEMPLATE']->formWidth(4).' /></td>
                                        </tr>
                                </table>
                        '.$formElements[1];