From a7d33c6239e284d147a45674b18517d4c9d63564 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 22 Jul 2016 15:17:58 +1000 Subject: [PATCH] bugfix incorrect variable name --- booking.balance.inc | 3 +-- booking.stripe.inc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/booking.balance.inc b/booking.balance.inc index a255c37..5e69693 100644 --- a/booking.balance.inc +++ b/booking.balance.inc @@ -29,8 +29,7 @@ function booking_balance_page() { $person = $query->execute() ->fetchObject(); - if ($person) - { + if ($person) { //load all the fields $node = node_load($person->nid); //calculate the invoice ID diff --git a/booking.stripe.inc b/booking.stripe.inc index 03962db..9584513 100644 --- a/booking.stripe.inc +++ b/booking.stripe.inc @@ -35,7 +35,7 @@ function _booking_get_stripe_private_key() { * Helper function to generate paypal form for payments */ function _booking_stripe_form($person, $invoiceid, $net_amount_owing, $button_text) { - $payment_form = drupal_get_form('booking_stripe_form', $person, $invoiceid, $amount_owing, $button_text); + $payment_form = drupal_get_form('booking_stripe_form', $person, $invoiceid, $net_amount_owing, $button_text); return drupal_render($payment_form); }