Explorar o código

[HttpKernel] fixed typo

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
cf6885a0a9
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

@@ -139,7 +139,7 @@ class Esi
             $type = 'text/html';
         }
 
-        $parts = implode(';', $type);
+        $parts = explode(';', $type);
         if (!in_array($parts[0], $this->contentTypes)) {
             return $response;
         }