r49199 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49198‎ | r49199 | r49200 >
Date:09:51, 5 April 2009
Author:werdna
Status:deferred
Tags:
Comment:
Minor fix
Modified paths:
  • /branches/preferences-work/phase3/includes/HTMLForm.php (modified) (history)

Diff [purge]

Index: branches/preferences-work/phase3/includes/HTMLForm.php
@@ -86,7 +86,7 @@
8787
8888 // Check for validation
8989 foreach( $this->mFlatFields as $fieldname => $field ) {
90 - if ( !$field->validate( $this->mFieldData[$fieldname] ) ) {
 90+ if ( $field->validate( $this->mFieldData[$fieldname] ) !== true ) {
9191 return isset($this->mValidationErrorMessage) ?
9292 $this->mValidationErrorMessage : array( 'htmlform-invalid-input' );
9393 }

Status & tagging log