From: Kunal Mehta Date: Fri, 24 Jul 2015 11:12:45 +0000 (-0700) Subject: HTMLUserTextField: "else if" → "elseif" X-Git-Tag: 1.31.0-rc.0~10662^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=9686485a1d28310f6bda3a47dee664d4fc5ed027;p=lhc%2Fweb%2Fwiklou.git HTMLUserTextField: "else if" → "elseif" Change-Id: I4df7773f79ccb90e1eff5295b94a9f5dd4cd0097 --- diff --git a/includes/htmlform/HTMLUserTextField.php b/includes/htmlform/HTMLUserTextField.php index 9f7100f5ef..949fefd1e6 100644 --- a/includes/htmlform/HTMLUserTextField.php +++ b/includes/htmlform/HTMLUserTextField.php @@ -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(); }