Index: trunk/extensions/CodeReview/ui/CodeRevisionTagView.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | $info = parent::getQueryInfo(); |
23 | 23 | //Don't change table order, see http://www.mediawiki.org/wiki/Special:Code/MediaWiki/77733 |
24 | 24 | //Bug in mysql 4 allowed incorrect table ordering joins to work |
25 | | - $info['tables'] = array_merge( array( 'code_tags' ), $info['tables'] ); |
| 25 | + array_unshift( $info['tables'], 'code_tags' ); |
26 | 26 | $info['conds'][] = 'cr_repo_id=ct_repo_id'; |
27 | 27 | $info['conds'][] = 'cr_id=ct_rev_id'; |
28 | 28 | $info['conds']['ct_tag'] = $this->mTag; // fixme: normalize input? |