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 "installer: make sqlite installer move the job queue to another DB"
[lhc/web/wiklou.git]
/
includes
/
resourceloader
/
ResourceLoaderImageModule.php
diff --git
a/includes/resourceloader/ResourceLoaderImageModule.php
b/includes/resourceloader/ResourceLoaderImageModule.php
index
c555eb8
..
d06e8ac
100644
(file)
--- a/
includes/resourceloader/ResourceLoaderImageModule.php
+++ b/
includes/resourceloader/ResourceLoaderImageModule.php
@@
-184,9
+184,9
@@
class ResourceLoaderImageModule extends ResourceLoaderModule {
$option = [ 'default' => $option ];
}
foreach ( $option as $skin => $data ) {
$option = [ 'default' => $option ];
}
foreach ( $option as $skin => $data ) {
- if ( !is_array( $
option
) ) {
+ if ( !is_array( $
data
) ) {
throw new InvalidArgumentException(
throw new InvalidArgumentException(
- "Invalid list error. '$
option
' given, array expected."
+ "Invalid list error. '$
data
' given, array expected."
);
}
}
);
}
}