summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhautoimport.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhautoimport.pm b/rhautoimport.pm
index a366d9a..9bdbc8b 100644
--- a/rhautoimport.pm
+++ b/rhautoimport.pm
@@ -215,7 +215,7 @@ sub import_uri
$request{'LOGIN_NAME'} = RD_USER;
$request{'SHOW_ID'} = int($show_id);
if($cart) {
- $request{'CART_NUMBER'} = $cart;
+ $request{'CART_NUMBER'} = $cart + 0; ## force $cart to be of type number
$request{'CLEAR_CART'} = JSON->true;
} else {
$request{'CLEAR_SHOW_CARTS'} = JSON->true;