aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-07-31 14:24:14 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-07-31 14:24:14 +0300
commit7301138ff9c7857e25c305e058b9a89f2844871c (patch)
tree97ffb8b6e11bf29a0bce6dbcaaa6c119c294fe62
parent79267c1d5983260c65243676729bee93077a4dc6 (diff)
downloadgsxlib-7301138ff9c7857e25c305e058b9a89f2844871c.tar.gz
gsxlib-7301138ff9c7857e25c305e058b9a89f2844871c.tar.bz2
gsxlib-7301138ff9c7857e25c305e058b9a89f2844871c.zip
Added support for new dispatchID format
-rw-r--r--gsxlib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxlib.php b/gsxlib.php
index 5a6ed33..e5b1297 100644
--- a/gsxlib.php
+++ b/gsxlib.php
@@ -578,7 +578,7 @@ class GsxLib
'eeeCode' => '/^[A-Z0-9]{3,4}$/', // only match ALL-CAPS!
'returnOrder' => '/^7\d{9}$/',
'repairNumber' => '/^\d{12}$/',
- 'dispatchId' => '/^G\d{9}$/',
+ 'dispatchId' => '/^[A-Z]+\d{9}$/',
'alternateDeviceId' => '/^\d{15}$/',
'diagnosticEventNumber' => '/^\d{23}$/',
'productName' => '/^i?Mac/',