Webservice issue, cannot send sms to multiple recipients

Hello,
I recently upgraded to playsms v1.4.7 and I cannot send sms to multiple recipients. Let’s say I want to send ‘test’ to 012345679 and 1234567890 throught webservices. I used to use this URL (%2C stands for a comma) :
http://myserver.sms/index.php?app=ws&u=pisci&h=mytoken&op=pv&to=0123456789%2C1234567890&msg=test
Since the update, this doesn’t work anymore. the two numbers are now concatenated and playsms tries to send one sms only to the number 01234567891234567890 which obviously fails.
I managed to restore the service by commenting the line 94 in wen/lib/fn_webservices.php :slight_smile: $to = is_array($to) ? $to : [$to];

However I don’t know what else I might have broken doing this…

Hi,

I think I know what the issue is, let me try to fix it and release it on upcoming 1.4.8

anton

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.