[BUGFIX] TextboxViewHelper does not return anything
authorDaniel Lienert <daniel@lienert.cc>
Thu, 27 Oct 2011 08:31:31 +0000 (10:31 +0200)
committerDaniel Lienert <daniel@lienert.cc>
Fri, 28 Oct 2011 13:25:24 +0000 (15:25 +0200)
Deprecated textBoxViewHelper inherits textFieldViewHelper
to render the textField but the return
is missing to pass the HTML through.

Change-Id: I46bb4faa0afa063a50eb89a16238ff49240d5d6b
Resolves: #31331
Releases: 4.6, 4.7

typo3/sysext/fluid/Classes/ViewHelpers/Form/TextboxViewHelper.php [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index e769d0c..5ee66e7
@@ -40,7 +40,7 @@
 class Tx_Fluid_ViewHelpers_Form_TextboxViewHelper extends Tx_Fluid_ViewHelpers_Form_TextfieldViewHelper {
        public function render() {
                t3lib_div::logDeprecatedFunction('<f:form.textbox> is deprecated. Please use <f:form.textfield> instead.');
-               parent::render();
+               return parent::render();
        }
 }