From 2d9afeb151d4fc8b44c79fb2cea75a2835e1076e Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Wed, 16 Apr 2014 10:43:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BE=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D1=8F=20=D1=81=20=D1=83=D1=87?= =?UTF-8?q?=D0=B5=D1=82=D0=BE=D0=BC=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=20-=20nl2br?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/controllers/JsonController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ground/controllers/JsonController.php b/ground/controllers/JsonController.php index b7667e5..20db9d2 100644 --- a/ground/controllers/JsonController.php +++ b/ground/controllers/JsonController.php @@ -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();