瀏覽代碼

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 年之前
父節點
當前提交
a6d790f89f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

+ 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();
     }
 
     /**