Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -476,7 +476,7 @@ |
477 | 477 | // Update bug references table... |
478 | 478 | $affectedBugs = array(); |
479 | 479 | $m = array(); |
480 | | - if ( preg_match_all( '/\bbug (\d+)\b/', $this->message, $m ) ) { |
| 480 | + if ( preg_match_all( '/\bbug #?(\d+)\b/', $this->message, $m ) ) { |
481 | 481 | $data = array(); |
482 | 482 | foreach ( $m[1] as $bug ) { |
483 | 483 | $data[] = array( |