From e983e01e2c90070c7cdb1101564ee36a3600e028 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 13 Aug 2008 02:02:36 +0000 Subject: [PATCH] use getArchivePath() --- thumb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thumb.php b/thumb.php index bb37e6e7a2..6af0698705 100644 --- a/thumb.php +++ b/thumb.php @@ -73,7 +73,7 @@ function wfThumbMain() { wfThumbError( 404, 'The source file for the specified thumbnail does not exist.' ); return; } - $sourcePath = $img->getPath(); + $sourcePath = $isOld ? $img->getArchivePath() : $img->getPath(); if ( $sourcePath === false ) { wfThumbError( 500, 'The source file is not locally accessible.' ); return; -- 2.20.1