aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gsxlib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxlib.php b/gsxlib.php
index 04e2655..4974754 100644
--- a/gsxlib.php
+++ b/gsxlib.php
@@ -232,7 +232,7 @@ class GsxLib
exit('Invalid order number: ' . $returnOrder);
}
- if (!self::partNumber($part, 'partNumber')) {
+ if (!self::looksLike($partNumber, 'partNumber')) {
exit('Invalid part number: ' . $partNumber);
}