diff --git a/ground/controllers/JsonController.php b/ground/controllers/JsonController.php index c52cc77..5f89861 100644 --- a/ground/controllers/JsonController.php +++ b/ground/controllers/JsonController.php @@ -98,12 +98,12 @@ class JsonController extends Controller )); $ch = curl_init("http://sms.ru/sms/send"); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_POSTFIELDS, array( "api_id" => "2c2af6a7-a935-0e84-5952-599f5cd61905", "to" => "79046106141", - "text" => "Wikipoints: Новая точка #".$point->id, + "text" => "#".$point->id.": ".$point->name, )); curl_exec($ch); curl_close($ch);