[FileBackend] Make sure multiwrite sub-backends use the proxy backend wiki ID.
[lhc/web/wiklou.git] / includes / filerepo / LocalRepo.php
index c616e16..dd0c947 100644 (file)
@@ -235,7 +235,8 @@ class LocalRepo extends FileRepo {
                        'image',
                        LocalFile::selectFields(),
                        array( 'img_sha1' => $hash ),
-                       __METHOD__
+                       __METHOD__,
+                       array( 'ORDER BY' => 'img_name' )
                );
                
                $result = array();