Allow pa codes to be 3 or 4 digits in length
This commit is contained in:
1 parent
7916e5f2e2
commit
11fc0f4c5b
2 files changed
+2
-2
No files matched your search
@@ -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