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 "Enable $wgStructuredChangeFiltersEnableSaving by default"
[lhc/web/wiklou.git]
/
includes
/
media
/
DjVu.php
diff --git
a/includes/media/DjVu.php
b/includes/media/DjVu.php
index
dcd276c
..
f260850
100644
(file)
--- a/
includes/media/DjVu.php
+++ b/
includes/media/DjVu.php
@@
-471,7
+471,7
@@
class DjVuHandler extends ImageHandler {
* @since 1.30
*/
public function getContentHeaders( $metadata, $fallbackWidth = null, $fallbackHeight = null ) {
* @since 1.30
*/
public function getContentHeaders( $metadata, $fallbackWidth = null, $fallbackHeight = null ) {
- if ( !is
_array( $metadata ) || !is
set( $metadata['xml'] ) ) {
+ if ( !isset( $metadata['xml'] ) ) {
return [];
}
return [];
}