fixed adding a single param as key => value

When adding 1 param an array needs to be constructed in k,v pairs not two array values index as 0,1
Merge pull request #1485 from bperin/1.7/develop

fixed adding a single param as key => value