Closed tkcent closed 1 year ago
When the node is cached, hook_node_load never gets called so the settings aren't loaded by webform_registration_node_load().
Need to add code to clear cache in webform_registration_settings_form().
entity_get_controller('node')->resetCache(array($node->nid));
Better to add resetCache() to the settings form submit function so node_load is not called unnecessarily.
PR #11
When the node is cached, hook_node_load never gets called so the settings aren't loaded by webform_registration_node_load().
Need to add code to clear cache in webform_registration_settings_form().
entity_get_controller('node')->resetCache(array($node->nid));