Merge pull request #2076 from jitendra-webkul/1.0

Issue #2074 fixed
This commit is contained in:
Jitendra Singh 2020-01-20 15:27:59 +05:30 committed by GitHub
commit 6b3415f0e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class Bundle extends AbstractType
}
if (! $haveRequiredOptions)
$minPrice = min($minPrices);
$minPrice = count($minPrices) ? min($minPrices) : 0;
return $minPrice;
}