Typo in variable name.
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 4 Jul 2008 01:59:13 +0000 (01:59 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 4 Jul 2008 01:59:13 +0000 (01:59 +0000)
includes/filerepo/File.php

index ea6bdad..b352235 100644 (file)
@@ -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");