bugfix incorrect variable name
This commit is contained in:
@@ -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
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user