Skip to content
Snippets Groups Projects

Update EmbeddedContentButton.php

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -104,7 +104,7 @@ final class EmbeddedContentButton extends ConfigEntityBase implements EmbeddedCo
foreach ($patterns as $pattern) {
// Allow for regex patterns.
try {
if ((bool) preg_match($pattern, $plugin_id)) {
if ((bool) @preg_match($pattern, $plugin_id)) {
return TRUE;
}
}
Loading