r93275 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93274‎ | r93275 | r93276 >
Date:15:07, 27 July 2011
Author:foxtrott
Status:deferred
Tags:
Comment:
bugfix: "Undefined property SFFormField::$input_name"
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php
@@ -1451,7 +1451,7 @@
14521452 $template_field = $form_field->getTemplateField();
14531453
14541454 if ( $form_field->isHidden() ) {
1455 - $text = SFFormUtils::hiddenFieldHTML( $form_field->input_name, $cur_value );
 1455+ $text = SFFormUtils::hiddenFieldHTML( $form_field->getInputName(), $cur_value );
14561456 } elseif ( $form_field->getInputType() != '' &&
14571457 array_key_exists( $form_field->getInputType(), $this->mInputTypeHooks ) &&
14581458 $this->mInputTypeHooks[$form_field->getInputType()] != null ) {