mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-09-24 10:49:29 +00:00
Make elseif into else because it is
Following up on I2bc79421be330, the condition was always true in case the first one wasn't. This is just a beautification fixup. Change-Id: I7463207f02de2116b96173d88199d46ce70ca174
This commit is contained in:
parent
7b741d3af4
commit
aed0e38edf
|
@ -367,8 +367,7 @@ class TemplateDataBlob {
|
|||
}
|
||||
$seen[$param] = $i;
|
||||
}
|
||||
|
||||
} elseif ( count( $paramNames ) >= 0 ) {
|
||||
} else {
|
||||
$data->paramOrder = $paramNames;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue