Skip to content
Snippets Groups Projects
Commit c9dc40cd authored by Philippe von Bergen's avatar Philippe von Bergen
Browse files

Issue #3379851: Drupal 10 release

parent 2c88aea5
No related branches found
No related tags found
1 merge request!4Issue #3379851: Drupal 10 release
......@@ -74,7 +74,7 @@ class GeoTrackingResource extends ResourceBase {
* Sets the geo tracking cookie.
*/
protected function setGeoTrackingCookie($value) {
setcookie('gtl', $value, [
setcookie('gtl', (string) $value, [
'expires' => 0,
'path' => '/',
'domain' => "." . str_replace("www.", "", \Drupal::request()->getHost()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment