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
Merge "objectcache: make RedisBagOStuff pass all tests"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
File.php
diff --git
a/includes/filerepo/file/File.php
b/includes/filerepo/file/File.php
index
7c87af3
..
546b78a
100644
(file)
--- a/
includes/filerepo/file/File.php
+++ b/
includes/filerepo/file/File.php
@@
-933,7
+933,7
@@
abstract class File implements IDBAccessObject {
*/
function getUnscaledThumb( $handlerParams = [] ) {
$hp =& $handlerParams;
- $page =
isset( $hp['page'] ) ? $hp['page'] :
false;
+ $page =
$hp['page'] ??
false;
$width = $this->getWidth( $page );
if ( !$width ) {
return $this->iconThumb();