Don't add crm-codes as pa-codes

This commit is contained in:
Björn Fromme
2019-06-17 18:17:03 +02:00
parent 31d10f27ab
commit de2731e9a4
2 changed files with 2 additions and 3 deletions
@@ -118,11 +118,11 @@ class ContextProcessor implements DataProcessorInterface
*/
private function getCookieData()
{
if ($_COOKIE['ep_trk']) {
if (isset($_COOKIE['ep_trk']) && preg_match('/^PA\d{4}$/', $_COOKIE['ep_trk'])) {
return $_COOKIE['ep_trk'];
}
return '';
return null;
}
/**