Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -901,7 +901,7 @@ |
902 | 902 | $encName = $db->addQuotes( $this->getName() ); |
903 | 903 | $res = $db->select( array( 'page', 'imagelinks'), |
904 | 904 | array( 'page_namespace', 'page_title', 'page_id', 'page_len', 'page_is_redirect', 'page_latest' ), |
905 | | - array( 'page_id' => 'il_from', 'il_to' => $encName ), |
| 905 | + array( 'page_id=il_from', 'il_to' => $encName ), |
906 | 906 | __METHOD__, |
907 | 907 | $options ); |
908 | 908 | |