Fixed undefined var from r106280
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 25 Dec 2011 23:17:30 +0000 (23:17 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 25 Dec 2011 23:17:30 +0000 (23:17 +0000)
includes/filerepo/backend/FileBackendMultiWrite.php

index d9b90c2..58225fd 100644 (file)
@@ -205,7 +205,7 @@ class FileBackendMultiWrite extends FileBackendBase {
         */
        function getFileTimestamp( array $params ) {
                // Skip non-master for consistent timestamps
-               $realParams = $this->substOpPaths( $params, $backend );
+               $realParams = $this->substOpPaths( $params, $this->backends[$this->masterIndex] );
                return $this->backends[$this->masterIndex]->getFileTimestamp( $realParams );
        }