Fix regression from r81558: fatal error in ForeignFileRepo thumb fetching when thumb...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 6 Apr 2011 18:27:20 +0000 (18:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 6 Apr 2011 18:27:20 +0000 (18:27 +0000)
commitdc1f7fd88cfee7faa8336e6684ebf5b7f7c6c1a7
tree50d878ac2c3988152a06074ce79e1587ca67a5ae
parent2073ab9b7fb4c40bc2b92198d612c01d4acc32d7
Fix regression from r81558: fatal error in ForeignFileRepo thumb fetching when thumb caching is disabled.

Addition of optional parameters lead to passing default 'null' straight through on a reference parameter, which PHP 5.3 really disapproves of. Sticking in a temp variable resolves this easily.
includes/filerepo/ForeignAPIRepo.php