diff --git a/redirect.php b/redirect.php index 05c1084..05b3788 100755 --- a/redirect.php +++ b/redirect.php @@ -16,7 +16,7 @@ $params = array( 'url' => 'https://hq.megaphonetech.com', 'key' => '4kaq0ZLsWDndWEKN8O3D', 'unknown-user' => 'create', - 'allow-override' => 'tracker,priority,category,status,project,assigned_to,start_date,due_date,estimated_hours,done_ratio', + 'allow-override' => 'all', 'project' => 'catch', 'tracker' => 'general', ); @@ -46,7 +46,7 @@ while (!feof($fd)) { //Alter the Subject if this is a test. $subjectAlterTo = substr($deliveredTo, 1, 12); - if(substr($deliveredTo, 1, 12) == 'support-test' && + if(substr($deliveredTo, 1, 15) == 'support_mt_test' && preg_match("/^Subject:(.*)/i", $line)) { $line = $subject = str_replace('Subject: ', 'Subject: [TEST] ', $line); }