Преглед на файлове

[HttpKernel] fixed typo

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;
         }