A little fix in whitespace and comment spelling.
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Wed, 21 Mar 2012 23:07:06 +0000 (01:07 +0200)
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Wed, 21 Mar 2012 23:07:06 +0000 (01:07 +0200)
Change-Id: I23887de1a5ee454037b6346c767e302f2e6f02f7

includes/HTMLForm.php

index 3b3e1b6..dccf967 100644 (file)
@@ -271,7 +271,7 @@ class HTMLForm extends ContextSource {
 
        /**
         * The here's-one-I-made-earlier option: do the submission if
-        * posted, or display the form with or without funky valiation
+        * posted, or display the form with or without funky validation
         * errors
         * @return Bool or Status whether submission was successful.
         */
@@ -279,7 +279,7 @@ class HTMLForm extends ContextSource {
                $this->prepareForm();
 
                $result = $this->tryAuthorizedSubmit();
-               if ( $result === true || ( $result instanceof Status && $result->isGood() ) ){
+               if ( $result === true || ( $result instanceof Status && $result->isGood() ) ) {
                        return $result;
                }