r93059 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93058‎ | r93059 | r93060 >
Date:16:30, 25 July 2011
Author:yaron
Status:deferred
Tags:
Comment:
Changed call to SFFormField::$is_disabled to SFFormField::isDisabled()
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php
@@ -1095,7 +1095,7 @@
10961096 // if this field is disabled, add a hidden field holding
10971097 // the value of this field, because disabled inputs for some
10981098 // reason don't submit their value
1099 - if ( $form_field->is_disabled ) {
 1099+ if ( $form_field->isDisabled() ) {
11001100 if ( $field_name == 'free text' || $field_name == '<freetext>' ) {
11011101 $new_text .= SFFormUtils::hiddenFieldHTML( 'free_text', '!free_text!' );
11021102 } else {