Browse Source

Another optimization for #11328

tags/3.0.0-alpha1
Alexander Makarov 7 years ago
parent
commit
2e267461a1
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 2
      framework/filters/PageCache.php

2
framework/filters/PageCache.php

@ -217,7 +217,7 @@ class PageCache extends ActionFilter
}
if (isset($data['cookies']) && is_array($data['cookies'])) {
$response->{'cookies'}->fromArray(array_merge($data['cookies'], $response->{'cookies'}->toArray()));
$response->getCookies()->fromArray(array_merge($data['cookies'], $response->getCookies()->toArray()));
}
if (!empty($data['dynamicPlaceholders']) && is_array($data['dynamicPlaceholders'])) {

Loading…
Cancel
Save