From bf148a1fdd7229f1f13d42bd592127e32cbe8a2a Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 4 May 2011 17:56:07 +0300 Subject: fixed returnLabel() --- gsxlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsxlib.php') 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); } -- cgit v1.2.3