HTMLUserTextField: "else if" → "elseif"
authorKunal Mehta <legoktm@gmail.com>
Fri, 24 Jul 2015 11:12:45 +0000 (04:12 -0700)
committerKunal Mehta <legoktm@gmail.com>
Fri, 24 Jul 2015 11:12:45 +0000 (04:12 -0700)
Change-Id: I4df7773f79ccb90e1eff5295b94a9f5dd4cd0097

includes/htmlform/HTMLUserTextField.php

index 9f7100f..949fefd 100644 (file)
@@ -28,7 +28,7 @@ class HTMLUserTextField extends HTMLTextField {
 
                if ( !$user ) {
                        return $this->msg( 'htmlform-user-not-valid', $value )->parse();
-               } else if ( $this->mParams['exists'] && $user->getId() === 0 ) {
+               } elseif ( $this->mParams['exists'] && $user->getId() === 0 ) {
                        return $this->msg( 'htmlform-user-not-exists', $user->getName() )->parse();
                }