Forráskód Böngészése

[HttpKernel] fixed typo

Fabien Potencier 15 éve
szülő
commit
47a26a0a42
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/Symfony/Components/HttpKernel/Cache/Esi.php

+ 1 - 1
src/Symfony/Components/HttpKernel/Cache/Esi.php

@@ -210,7 +210,7 @@ class Esi
             throw new \RuntimeException('Unable to process an ESI tag without a "src" attribute.');
         }
 
-        return sprintf('<?php echo $this->esi->handle($this, \'%s\', \'%s\', %s)->getContent() ?>'."\n",
+        return sprintf('<?php echo $this->esi->handle($this, \'%s\', \'%s\', %s) ?>'."\n",
             $options['src'],
             isset($options['alt']) ? $options['alt'] : null,
             isset($options['onerror']) && 'continue' == $options['onerror'] ? 'true' : 'false'