dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f74a83f
)
HTMLUserTextField: "else if" → "elseif"
author
Kunal Mehta
<legoktm@gmail.com>
Fri, 24 Jul 2015 11:12:45 +0000
(
04:12
-0700)
committer
Kunal Mehta
<legoktm@gmail.com>
Fri, 24 Jul 2015 11:12:45 +0000
(
04:12
-0700)
Change-Id: I4df7773f79ccb90e1eff5295b94a9f5dd4cd0097
includes/htmlform/HTMLUserTextField.php
patch
|
blob
|
history
diff --git
a/includes/htmlform/HTMLUserTextField.php
b/includes/htmlform/HTMLUserTextField.php
index
9f7100f
..
949fefd
100644
(file)
--- 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();
}