Browse Source

fix empty namespace title filter

master
ghost 9 months ago
parent
commit
d48cb554a0
  1. 2
      src/Twig/AppExtension.php

2
src/Twig/AppExtension.php

@ -149,7 +149,7 @@ class AppExtension extends AbstractExtension @@ -149,7 +149,7 @@ class AppExtension extends AbstractExtension
{
foreach ($results as $result)
{
if ($result['key'] == '_KEVA_NS_')
if ($result['key'] == '_KEVA_NS_' && !empty($result['value']))
{
return trim(
$result['value']

Loading…
Cancel
Save