Ver código fonte

Merge remote branch 'hhamon/http_cache_fix'

* hhamon/http_cache_fix:
  [HttpKernel] private $traces property was not initialized to an empty array. When using the getLog() method to debug traces, it led to a warning in the apache error log.
Fabien Potencier 14 anos atrás
pai
commit
a6d790f89f

+ 1 - 0
src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

@@ -91,6 +91,7 @@ class HttpCache implements HttpKernelInterface
             'stale_if_error'         => 60,
         ), $options);
         $this->esi = $esi;
+        $this->traces = array();
     }
 
     /**