1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 07:56:23 +00:00

Prepare loop for testing sms datas

This commit is contained in:
Loïc Blot (@U-Exp) 2014-09-12 14:53:34 +02:00
parent dc2ff40448
commit 6401ef673d

View File

@ -41,7 +41,12 @@ class SmsController extends Controller {
if ($smsCount != count($smsDatas)) {
return "Error: sms count invalid";
}
return array("test" => "test2");
$buf = "";
foreach ($sms in $smsDatas) {
$buf .= $sms["id"];
}
return $buf;
}