From facb67cbfadb82357633a2b775fb3e6619a85ac1 Mon Sep 17 00:00:00 2001 From: hhamon Date: Wed, 13 Apr 2011 14:24:53 +0200 Subject: [PATCH] [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. --- src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php index 8e3bf2e69bead..d27e85da73323 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php @@ -91,6 +91,7 @@ public function __construct(HttpKernelInterface $kernel, StoreInterface $store, 'stale_if_error' => 60, ), $options); $this->esi = $esi; + $this->traces = array(); } /**