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
WatchedItemStore::countVisitingWatchersMultiple() shouldn't query all titles when...
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryExternalLinks.php
diff --git
a/includes/api/ApiQueryExternalLinks.php
b/includes/api/ApiQueryExternalLinks.php
index
fd196aa
..
6c219d4
100644
(file)
--- a/
includes/api/ApiQueryExternalLinks.php
+++ b/
includes/api/ApiQueryExternalLinks.php
@@
-66,7
+66,7
@@
class ApiQueryExternalLinks extends ApiQueryBase {
}
$this->addOption( 'LIMIT', $params['limit'] + 1 );
- $offset =
isset( $params['offset'] ) ? $params['offset'] :
0;
+ $offset =
$params['offset'] ??
0;
if ( $offset ) {
$this->addOption( 'OFFSET', $params['offset'] );
}