Permalink
Browse files

Deal with some more minor format updates

  • Loading branch information...
1 parent 1b5079b commit 3fae6f586b1a7cb74023373adc56b097d71a6f01 @staktrace committed Aug 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 filter.php
View
@@ -192,6 +192,8 @@ function normalizeFieldList( $fieldString ) {
$word = 'OS';
} else if ($word == 'Platform') {
$word = 'Hardware';
+ } else if ($word == 'AssignedTo') {
+ $word = 'Assignee';
}
$fields[] = $word;
}
@@ -448,7 +450,7 @@ function updateMetadata( $date ) {
$title = trim( $matches[1] );
$author = getField( 'who' );
$matches = array();
- if (preg_match( "/Bug #: .*?\n\n\n(.*\n\n)?-- \n/s", $mailString, $matches ) == 0) {
+ if (preg_match( "/Bug ID: .*?\n\n(.*\n\n)?-- \n/s", $mailString, $matches ) == 0) {
fail( 'No description' );
}
$desc = trim( $matches[1] );

0 comments on commit 3fae6f5

Please sign in to comment.