From 55f67df50c4fdddc506f633b6e5b961adf861bf4 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 4 Jul 2008 01:59:13 +0000 Subject: [PATCH] Typo in variable name. --- includes/filerepo/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index ea6bdadabe..b352235411 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -1070,7 +1070,7 @@ abstract class File { if ( $renderUrl ) { if ( $this->repo->descriptionCacheExpiry > 0 ) { wfDebug("Attempting to get the description from the transwiki cache..."); - $key = wfMemcKey( 'filedesc', 'url', md5($link)); + $key = wfMemcKey( 'filedesc', 'url', md5($renderUrl)); $obj = $wgMemc->get($key); if ($obj) { wfDebug("success!\n"); -- 2.20.1