[HttpKernel] Fixed wache vary write (fixes #3896).
This commit is contained in:
parent
cd783fba06
commit
686653ae3c
@ -167,7 +167,7 @@ class Store implements StoreInterface
|
||||
$entries = array();
|
||||
$vary = $response->headers->get('vary');
|
||||
foreach ($this->getMetadata($key) as $entry) {
|
||||
if (!isset($entry[1]['vary'])) {
|
||||
if (!isset($entry[1]['vary'][0])) {
|
||||
$entry[1]['vary'] = array('');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user