FIX поправил ответ по АПИ на запросе точки
This commit is contained in:
parent
816db279b2
commit
1f378e68f6
|
|
@ -93,8 +93,7 @@ class ApiController extends Controller
|
||||||
self::error('Unknown point!', 404);
|
self::error('Unknown point!', 404);
|
||||||
}
|
}
|
||||||
|
|
||||||
$point->descriptionHtml = nl2br($point->description);
|
$point->description = Helper::replaceLinks($point->description);
|
||||||
$point->descriptionHtml = Helper::replaceLinks($point->descriptionHtml, 'js');
|
|
||||||
$point->name = htmlspecialchars($point->name);
|
$point->name = htmlspecialchars($point->name);
|
||||||
$imgs = $point->photos;
|
$imgs = $point->photos;
|
||||||
$photosCount = 1;
|
$photosCount = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue