Skip to content

Commit 6e11d21

Browse files
committed
Change minimum validation to 0.1
1 parent 7f1581d commit 6e11d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Darryldecode/Cart/Cart.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ protected function validate($item)
699699
$rules = array(
700700
'id' => 'required',
701701
'price' => 'required|numeric',
702-
'quantity' => 'required|numeric|min:1',
702+
'quantity' => 'required|numeric|min:0.1',
703703
'name' => 'required',
704704
);
705705

0 commit comments

Comments
 (0)