Fixes for PHP 5.4+
This commit is contained in:
@@ -1269,7 +1269,8 @@ function _booking_process_refund($person)
|
||||
* Helper function to generate paypal form for payments
|
||||
*/
|
||||
function _booking_paypal_form($person, $invoiceid, $amount_owing, $button_text) {
|
||||
return drupal_render(drupal_get_form('_booking_paypal_form_builder', $person, $invoiceid, $amount_owing, $button_text));
|
||||
$form = drupal_get_form('_booking_paypal_form_builder', $person, $invoiceid, $amount_owing, $button_text);
|
||||
return drupal_render($form);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user