Skip to content

Commit 960d65c

Browse files
committed
11.1.7: * [Mail/Routing] In mail routing KATA, the 'body' filter can match linefeed characters with wildcards. Previously this only matched the first line.
1 parent 27874e0 commit 960d65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/devblocks/api/services/email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ public function runRoutingKata(array $routing, DevblocksDictionaryDelegate $rout
14851485
$cond_passed++;
14861486

14871487
} else if('body' == $cond_type) {
1488-
if(DevblocksPlatform::services()->string()->arrayMatches($routing_dict->get('body', ''), $cond_data, only_first_match: true))
1488+
if(DevblocksPlatform::services()->string()->arrayMatches($routing_dict->get('body', ''), $cond_data, only_first_match: true, extra_flags: 's'))
14891489
$cond_passed++;
14901490

14911491
} else if('sender_email' == $cond_type) {

0 commit comments

Comments
 (0)