Merge pull request #2148 from jitendra-webkul/1.0

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

View File

@ -213,7 +213,7 @@ class Bundle extends AbstractType
}
}
if (! $haveRequiredOptions)
if (! $haveRequiredOptions && count($minPrices))
$minPrice = min($minPrices);
return $minPrice;