API supports "old" and "new" ways of passing value_id - as an object or as 4 arguments.
Each such "dual-API" method does a check of input arguments to determine if that is "old" or "new" style of invocation.
And in "EnablePoll" method, it does look like a bug to me - instead of getting value from 1-st position, it just gets 1.
It does look like a bug.
API supports "old" and "new" ways of passing value_id - as an object or as 4 arguments. Each such "dual-API" method does a check of input arguments to determine if that is "old" or "new" style of invocation.
And in "EnablePoll" method, it does look like a bug to me - instead of getting value from 1-st position, it just gets 1.