Explorar o código

[HttpKernel] fixed typo

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
47a26a0a42
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'