Index: trunk/extensions/CodeReview/ui/CodeReleaseNotes.php |
— | — | @@ -56,8 +56,7 @@ |
57 | 57 | $where = 'cr_id >= ' . intval( $this->mStartRev ); |
58 | 58 | } |
59 | 59 | if ( $this->mPath ) { |
60 | | - $where .= ' AND (cr_path ' . $dbr->buildLike( "{$this->mPath}/", $dbr->anyString() ); |
61 | | - $where .= ' OR cr_path = ' . $dbr->addQuotes( $this->mPath ) . ')'; |
| 60 | + $where .= ' AND cr_path = ' . $dbr->addQuotes( $this->mPath ); |
62 | 61 | } |
63 | 62 | # Select commits within this range... |
64 | 63 | $res = $dbr->select( array( 'code_rev', 'code_tags' ), |