fix function call

This commit is contained in:
Nathan Coad
2016-07-21 10:40:06 +10:00
parent b594364e0d
commit 28599d8d1f

View File

@@ -143,7 +143,7 @@ function booking_stripeform_form($form, &$form_state) {
* Tries to add final validation after all else has been added through alters.
*/
function booking_stripeform_add_final_validation($form) {
$form['#validate'][] = 'stripeform_validate_form_payment';
$form['#validate'][] = 'booking_stripeform_validate_form_payment';
return $form;
}