From d1f0dea73a5e73b343ec1b2b9ca6d2007e44e10e Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko <50026114+maksalees@users.noreply.github.com> Date: Wed, 24 Nov 2021 22:53:32 +0200 Subject: [PATCH] Groups: Remove useless return in GroupPresenter (sorry) --- Web/Presenters/GroupPresenter.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Web/Presenters/GroupPresenter.php b/Web/Presenters/GroupPresenter.php index 648a3b21..a253ea72 100644 --- a/Web/Presenters/GroupPresenter.php +++ b/Web/Presenters/GroupPresenter.php @@ -161,7 +161,6 @@ final class GroupPresenter extends OpenVKPresenter if(mb_strlen($comment) > 36) { $commentLength = (string) mb_strlen($comment); $this->flashFail("err", "Ошибка", "Комментарий слишком длинный ($commentLength символов вместо 36 символов)"); - return; } if($club->getOwner()->getId() == $user->getId()) {