Fix bug in vault picking up jobs for Queensland and Overseas

This commit is contained in:
Karl Cordes 2020-09-09 17:28:11 +10:00
parent 7f73e046c6
commit 3b0f6c47b5

View file

@ -424,7 +424,7 @@ class VaultShell extends Shell {
preg_match("/CMCPO\d+/", $subject, $output); preg_match("/CMCPO\d+/", $subject, $output);
} }
else if($type == 'job') { else if($type == 'job') {
preg_match("/(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\d+(N|V|W|S|T|NT|ACT)J\d+/", $subject, $output); preg_match("/(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\d+(N|V|W|S|T|NT|ACT|Q|O)J\d+/", $subject, $output);
} }
foreach($output as $match) { foreach($output as $match) {