Вывод описания с учетом перевода строк - nl2br
This commit is contained in:
parent
c7bc5aee56
commit
2d9afeb151
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue