API client_template_additional_get always return just one template

short description

When two additional client templates are assigned the function client_template_additional_get has alsways just one entry in result.

correct behaviour

I would expect all assigned ids in the result array

environment

Server OS: Debian Server OS version: (wheezy/trusty/centos6/...) ISPConfig version: 3.1.15p2