Don't add crm-codes as pa-codes
This commit is contained in:
@@ -127,7 +127,6 @@ tx_epproducts_ajax_json {
|
||||
1 = list
|
||||
}
|
||||
}
|
||||
features.requireCHashArgumentForActionArguments = 0
|
||||
settings =< plugin.tx_epproducts.settings
|
||||
persistence =< plugin.tx_epproducts.persistence
|
||||
view =< plugin.tx_epproducts.view
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user