Fixed bogus call to method on a string
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 16 Feb 2012 05:04:17 +0000 (05:04 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 16 Feb 2012 05:04:17 +0000 (05:04 +0000)
includes/cache/MessageCache.php

index 1d0ab90..8ee8fba 100644 (file)
@@ -753,7 +753,7 @@ class MessageCache {
                        $message = $revision->getText();
                        if ($message === false) {
                                // A possibly temporary loading failure.
-                               wfDebugLog( 'MessageCache', __METHOD__ . ": failed to load message page text for {$title->getDbKey()} ($code)" );
+                               wfDebugLog( 'MessageCache', __METHOD__ . ": failed to load message page text for {$title} ($code)" );
                        } else {
                                $this->mCache[$code][$title] = ' ' . $message;
                                $this->mMemc->set( $titleKey, ' ' . $message, $this->mExpiry );