Allow pa codes to be 3 or 4 digits in length
This commit is contained in:
@@ -118,7 +118,7 @@ class ContextProcessor implements DataProcessorInterface
|
||||
*/
|
||||
private function getCookieData()
|
||||
{
|
||||
if (isset($_COOKIE['ep_trk']) && preg_match('/^PA\d{4}$/', $_COOKIE['ep_trk'])) {
|
||||
if (isset($_COOKIE['ep_trk']) && preg_match('/^PA\d{3,4}$/', $_COOKIE['ep_trk'])) {
|
||||
return $_COOKIE['ep_trk'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user