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
Cache: Make APCUBagOStuff::set return a useful value
[lhc/web/wiklou.git]
/
includes
/
media
/
ThumbnailImage.php
diff --git
a/includes/media/ThumbnailImage.php
b/includes/media/ThumbnailImage.php
index
0deb89f
..
36cf422
100644
(file)
--- a/
includes/media/ThumbnailImage.php
+++ b/
includes/media/ThumbnailImage.php
@@
-112,7
+112,7
@@
class ThumbnailImage extends MediaTransformOutput {
function toHtml( $options = [] ) {
global $wgPriorityHints, $wgElementTiming;
- if (
count( func_get_args()
) == 2 ) {
+ if (
func_num_args(
) == 2 ) {
throw new MWException( __METHOD__ . ' called in the old style' );
}