aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2011-05-04 17:56:07 +0300
committerFilipp Lepalaan <filipp@mac.com>2011-05-04 17:56:07 +0300
commitbf148a1fdd7229f1f13d42bd592127e32cbe8a2a (patch)
treeb136c107a139db933dd8f6308555c2fd1433ab7d
parent248d00244eb6ea6905eb16f0545404612b626df5 (diff)
downloadgsxlib-bf148a1fdd7229f1f13d42bd592127e32cbe8a2a.tar.gz
gsxlib-bf148a1fdd7229f1f13d42bd592127e32cbe8a2a.tar.bz2
gsxlib-bf148a1fdd7229f1f13d42bd592127e32cbe8a2a.zip
fixed returnLabel()
-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);
}