diff --git a/mobile/shop/item.php b/mobile/shop/item.php index 0735802d2..a3270cd67 100644 --- a/mobile/shop/item.php +++ b/mobile/shop/item.php @@ -673,7 +673,7 @@ else } var val, result = true; - $("input[name='ct_qty[]']").each(function() { + $("input[name^=ct_qty]").each(function() { val = $(this).val(); if(val.length < 1) { diff --git a/shop/item.php b/shop/item.php index 56f2b2b4a..a93694a64 100644 --- a/shop/item.php +++ b/shop/item.php @@ -687,7 +687,7 @@ else } var val, result = true; - $("input[name='ct_qty[]']").each(function() { + $("input[name^=ct_qty]").each(function() { val = $(this).val(); if(val.length < 1) {