Browse Source

fix namespace detection

main
ghost 11 months ago
parent
commit
aaad5a6e4b
  1. 2
      src/Twig/AppExtension.php

2
src/Twig/AppExtension.php

@ -218,7 +218,7 @@ class AppExtension extends AbstractExtension
): string ): string
{ {
// Search not filtered namespaces // Search not filtered namespaces
if (preg_match_all('~(N[A-z0-9]{33})~i', $text, $matches)) if (preg_match_all('~(N[A-z0-9]{33})~', $text, $matches))
{ {
if (empty($matches[1])) if (empty($matches[1]))
{ {

Loading…
Cancel
Save