Index: trunk/phase3/includes/filerepo/ForeignAPIRepo.php |
— | — | @@ -231,7 +231,8 @@ |
232 | 232 | global $wgMemc; |
233 | 233 | |
234 | 234 | if ( !$this->canCacheThumbs() ) { |
235 | | - return $this->getThumbUrl( $name, $width, $height, null, $params ); |
| 235 | + $result = null; // can't pass "null" by reference, but it's ok as default value |
| 236 | + return $this->getThumbUrl( $name, $width, $height, $result, $params ); |
236 | 237 | } |
237 | 238 | $key = $this->getLocalCacheKey( 'ForeignAPIRepo', 'ThumbUrl', $name ); |
238 | 239 | $sizekey = "$width:$height:$params"; |