Update booking_payment_completed_page

This commit is contained in:
2016-05-04 13:37:31 +10:00
parent b64823ed9f
commit 157ea12fc1

View File

@@ -1455,10 +1455,10 @@ function booking_payment_completed_page()
//set the page title
$bookingTitle = !empty($event->booking_eventname) ? $event->booking_eventname : 'Event';
drupal_set_title($bookingTitle . ' Registration Completed');
$input = variable_get('booking_regn_completed_page');
watchdog('booking_debug', "<pre>Paypal landing page token:\n@info</pre>", array('@info' => print_r($input['value'] , true)));
watchdog('booking_debug', "<pre>Paypal landing page token:\n@info</pre>", array('@info' => print_r( variable_get('booking_regn_completed_page'), true)));
$output = token_replace(variable_get('booking_regn_completed_page'), booking_define_tokens());
$output = token_replace($input['value'], booking_define_tokens());
$return_array[] = array(
'paragraph' => array(
'#type' => 'markup',