Skip to content

Commit

Permalink
fix passing null value to preg_split
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Jan 31, 2025
1 parent d4c1ad9 commit 6b8d6cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/OutputWorkflow/Channel/Email/Parser/MailParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ protected function extractPlaceHolder(string $str, array $fieldValues): mixed
$str = str_replace($matches[0][$key], $value, $str);
}

dump($str);
exit;

// remove invalid commas
$fragments = preg_split('@,@', $str, -1, PREG_SPLIT_NO_EMPTY);
$fragmentsGlued = is_array($fragments) ? implode(',', $fragments) : $fragments;
Expand Down

0 comments on commit 6b8d6cf

Please sign in to comment.