From eb63d957ed082935ead1115fcdd43f995925dc87 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Fri, 4 Mar 2016 19:12:02 +0300 Subject: [PATCH] =?UTF-8?q?ADD=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B9=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B9=20=D0=B2?= =?UTF-8?q?=20=D1=83=D0=B2=D0=B5=D0=B4=D0=BE=D0=BC=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/CommentsController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/CommentsController.php b/controllers/CommentsController.php index b9acdc6..70c3d0d 100644 --- a/controllers/CommentsController.php +++ b/controllers/CommentsController.php @@ -67,9 +67,10 @@ class CommentsController extends Controller } // SMS::send('Новый комментарий от '.App::$user->nick, '79046106141'); - Alarmer::send('Новый комментарий от '.App::$user->nick); + $url = '/' . $_POST['parentType'] . '/' . $_POST['parentId'] . '#comment' . $comment->id; + Alarmer::send('Новый комментарий от ' . App::$user->nick . ' Прочитать: https://wikipoints.ru' . $url); - App::redirect('/' . $_POST['parentType'] . '/' . $_POST['parentId'] . '#comment' . $comment->id); + App::redirect($url); } static function actionDel()