Fabien Potencier пре 15 година
родитељ
комит
cf6885a0a9
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
         }