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
BadFileLookup::isBadFile() expects null, not false
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryImageInfo.php
diff --git
a/includes/api/ApiQueryImageInfo.php
b/includes/api/ApiQueryImageInfo.php
index
b97ab3c
..
5e737c3
100644
(file)
--- a/
includes/api/ApiQueryImageInfo.php
+++ b/
includes/api/ApiQueryImageInfo.php
@@
-63,7
+63,7
@@
class ApiQueryImageInfo extends ApiQueryBase {
$this->dieWithError( [ 'apierror-bad-badfilecontexttitle', $p ], 'invalid-title' );
}
} else {
- $badFileContextTitle =
false
;
+ $badFileContextTitle =
null
;
}
$pageIds = $this->getPageSet()->getGoodAndMissingTitlesByNamespace();