bugfix incorrect variable name

This commit is contained in:
Nathan Coad
2016-07-22 15:17:58 +10:00
parent b102d4c496
commit a7d33c6239
2 changed files with 2 additions and 3 deletions

View File

@@ -29,8 +29,7 @@ function booking_balance_page() {
$person = $query->execute() $person = $query->execute()
->fetchObject(); ->fetchObject();
if ($person) if ($person) {
{
//load all the fields //load all the fields
$node = node_load($person->nid); $node = node_load($person->nid);
//calculate the invoice ID //calculate the invoice ID

View File

@@ -35,7 +35,7 @@ function _booking_get_stripe_private_key() {
* Helper function to generate paypal form for payments * Helper function to generate paypal form for payments
*/ */
function _booking_stripe_form($person, $invoiceid, $net_amount_owing, $button_text) { 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); return drupal_render($payment_form);
} }