Closed (fixed)
Project:
Autonodequeue
Version:
7.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2014 at 15:33 UTC
Updated:
20 Dec 2014 at 15:14 UTC
Jump to comment: Most recent
How could this ever have worked!?
The form alter adds dropdowns in form.autonodequeue.NODETYPE. The submit handler reads the values from form_state.values.autonodequeue.NODETYPE.value. Where would the 'value' come from!?
If you change
$connection_type = (int) $connection_type['value'];
to
$connection_type = (int) $connection_type;
it works perfectly.
Comments
Comment #1
rudiedirkx commented