Active
Project:
Webform Pay
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2017 at 16:03 UTC
Updated:
26 Oct 2017 at 13:46 UTC
Jump to comment: Most recent
Webform 4 removes function webform_variable_get original issue https://www.drupal.org/node/2062235
advice from https://www.drupal.org/node/1609324 is to replace
if (in_array($node->type, webform_variable_get('webform_node_types'))) {
// Do something.
}
With something like
if (variable_get('webform_node_' . $node->type, FALSE)) {
// Do something.
}
// OR:
if (in_array($node->type, webform_node_types())) {
// Do something.
}
So I'v added a patch for it, whilst Im still testing the rest of the components it seems to work
| Comment | File | Size | Author |
|---|---|---|---|
| webform_pay_v4.patch | 499 bytes | gavin.hughes |
Comments
Comment #2
nate covington commentedI just posted a similar solution that works with Drupal 7, Webform 4.
Simple Drupal Webform (v4) PayPal Integration using custom PHP confirmation message