Index: trunk/extensions/CodeReview/CodeRevision.php |
— | — | @@ -185,8 +185,7 @@ |
186 | 186 | // Update code relations (One-digit revs skipped due to some false-positives) |
187 | 187 | if ( preg_match_all( '/\br(\d{2,})\b/', $this->mMessage, $m ) ) { |
188 | 188 | $data = array(); |
189 | | - unset($m[0]); // ignore the whole match |
190 | | - foreach( $m as $rev ) { |
| 189 | + foreach( $m[1] as $rev ) { |
191 | 190 | $data[] = array( |
192 | 191 | 'cf_repo_id' => $this->mRepoId, |
193 | 192 | 'cf_from' => $this->mId, |