Вывод описания с учетом перевода строк - nl2br

This commit is contained in:
Krivchikov Dmitry 2014-04-16 10:43:52 +04:00
parent c7bc5aee56
commit 2d9afeb151
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class JsonController extends Controller
{
$point = new Point();
$point = $point->getByPK($id);
$point->description = nl2br($point->description);
$categories = new Category();
$categories = $categories->getAll();