Closed (duplicate)
Project:
Signup Restrict by Role
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2011 at 16:03 UTC
Updated:
9 Nov 2011 at 16:03 UTC
Needs to add && $form['signup'] to the form alter if statement, i.e.
function signup_restrict_by_role_form_alter(&$form, &$form_state, $form_id) {
if($form['#node'] && $form['#node']->type.'_node_form' == $form_id && $form['signup']) { ...
Comments
Comment #1
Renee S commentedConfirmed, this fix works. Thank you! :)
Comment #2
scottrigbyChanging status because there's no patch.
See #450634-4: Defaults per type, which also fixes this issue in a different way.
Comment #3
scottrigbyActually marking as duplicate. Please test the patch in #450634: Defaults per type