Skip to content

Commit d45ae3f

Browse files
authored
Merge branch 'master' into track-if-ai
2 parents af83c1b + 9ddccf0 commit d45ae3f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MatomoTracker.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,6 +2191,10 @@ protected function sendRequest(string $url, string $method = 'GET', $data = null
21912191
$response = file_get_contents($url, 0, $ctx);
21922192
$content = $response;
21932193

2194+
if (function_exists('http_get_last_response_headers')) {
2195+
$http_response_header = http_get_last_response_headers();
2196+
}
2197+
21942198
$this->parseIncomingCookies($http_response_header);
21952199
}
21962200

0 commit comments

Comments
 (0)