Rererer fallback can not work

Created on 12 December 2024, 14 days ago

Problem/Motivation

... elseif ($config->get('track_http_referrer_fallback')) {
    $fieldsArray['HTTP_REFERER'] = $currentRequest->server->get('HTTP_REFERER');
    $fieldsArray = array_filter($currentRequest->query->all(), fn($key) => in_array($key, $parametersToTrack, TRUE), ARRAY_FILTER_USE_KEY);
  }

Can never work, as the second line always overwrites the first line?

Needs to be turned around.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code (persistent_visitor_parameters_user_registration)

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024