Skip to content

Commit

Permalink
Merge pull request #1321 from ravinderk/issues/1319
Browse files Browse the repository at this point in the history
Fix #1319
  • Loading branch information
Devin Walker authored Dec 8, 2016
2 parents 0555aa6 + d0a070e commit c516c4d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions includes/forms/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,7 @@ function give_get_lowest_price_id( $form_id = 0 ) {

$prices = give_get_variable_prices( $form_id );

$low = 0.00;
$min_id = 1;
$min = $min_id = 0;

if ( ! empty( $prices ) ) {

Expand Down Expand Up @@ -636,7 +635,7 @@ function give_get_lowest_price_option( $form_id = 0 ) {

$prices = give_get_variable_prices( $form_id );

$low = 0.00;
$min = $min_id = 0;

if ( ! empty( $prices ) ) {

Expand Down Expand Up @@ -689,7 +688,7 @@ function give_get_highest_price_option( $form_id = 0 ) {

if ( ! empty( $prices ) ) {

$max = 0;
$max_id = $max = 0;

foreach ( $prices as $key => $price ) {
if ( empty( $price['_give_amount'] ) ) {
Expand Down

0 comments on commit c516c4d

Please sign in to comment.