FIX поправил ответ по АПИ на запросе точки

This commit is contained in:
Krivchikov Dmitry 2016-04-30 17:52:42 +03:00
parent 816db279b2
commit 1f378e68f6
1 changed files with 1 additions and 2 deletions

View File

@ -93,8 +93,7 @@ class ApiController extends Controller
self::error('Unknown point!', 404);
}
$point->descriptionHtml = nl2br($point->description);
$point->descriptionHtml = Helper::replaceLinks($point->descriptionHtml, 'js');
$point->description = Helper::replaceLinks($point->description);
$point->name = htmlspecialchars($point->name);
$imgs = $point->photos;
$photosCount = 1;