Skip to content
Snippets Groups Projects

Issue #3337496: From my log

Closed Binoli Lalani requested to merge issue/token_or-3337496:3337496-from-my-log into 2.x
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -32,7 +32,9 @@ class TokenOrTokensPreAlter {
public function tokensPreAlter(&$text, $data, $options) {
$matches = [];
preg_match_all("/\[[^\[\]]+\]/", $text, $matches);
if (is_string($text)) {
preg_match_all("/\[[^\[\]]+\]/", $text, $matches);
}
if (empty($matches)) {
return;
Loading