Index: trunk/extensions/CodeReview/CodeRevision.php |
— | — | @@ -183,7 +183,7 @@ |
184 | 184 | $dbw->insert( 'code_paths', $data, __METHOD__, array( 'IGNORE' ) ); |
185 | 185 | } |
186 | 186 | // Update code relations (One-digit revs skipped due to some false-positives) |
187 | | - if ( preg_match( '/\br(\d{2,})\b/', $this->mMessage, $m ) ) { |
| 187 | + if ( preg_match_all( '/\br(\d{2,})\b/', $this->mMessage, $m ) ) { |
188 | 188 | $data = array(); |
189 | 189 | unset($m[0]); // ignore the whole match |
190 | 190 | foreach( $m as $rev ) { |