dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Followup r70480, per Nikerabbits comment, there '''is''' something to do
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiBase.php
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
211a093
..
c53fd2f
100644
(file)
--- a/
includes/api/ApiBase.php
+++ b/
includes/api/ApiBase.php
@@
-662,7
+662,7
@@
abstract class ApiBase {
switch ( $type ) {
case 'NULL': // nothing to do
break;
switch ( $type ) {
case 'NULL': // nothing to do
break;
- case 'string':
// nothing to do
+ case 'string':
if ( $value === '' ) {
$this->dieUsageMsg( array( 'missingparam', $paramName ) );
}
if ( $value === '' ) {
$this->dieUsageMsg( array( 'missingparam', $paramName ) );
}