From d9a972a0f73c6ea79e290cf1a7d509a3ae3afb88 Mon Sep 17 00:00:00 2001 From: n1rwana <93197434+n1rwana@users.noreply.github.com> Date: Mon, 22 Aug 2022 12:43:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BA=D0=BD=D0=BE?= =?UTF-8?q?=D0=BF=D0=BA=D0=B8=20"=D0=92=D0=BE=D1=81=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D0=B8=D0=B7=D0=B2=D0=B5=D0=BB=D0=BE=D1=81=D1=8C"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/Presenters/BugtrackerPresenter.php | 2 +- Web/Presenters/templates/Bugtracker/View.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/Presenters/BugtrackerPresenter.php b/Web/Presenters/BugtrackerPresenter.php index 72b7d4b2..d269e662 100644 --- a/Web/Presenters/BugtrackerPresenter.php +++ b/Web/Presenters/BugtrackerPresenter.php @@ -231,7 +231,7 @@ final class BugtrackerPresenter extends OpenVKPresenter if ($report->getReporter()->getId() === $this->user->identity->getId()) $this->flashFail("err", tr("forbidden")); - DB::i()->getContext()->table("bugs")->where("id", $report_id)->update("reproduced", $report->getReproducedCount() + 1); + DB::i()->getContext()->table("bugs")->where("id", $report_id)->update(["reproduced" => $report->getReproducedCount() + 1]); $this->flashFail("succ", tr("bug_tracker_success"), tr("bug_tracker_reproduced_text")); } diff --git a/Web/Presenters/templates/Bugtracker/View.xml b/Web/Presenters/templates/Bugtracker/View.xml index d97dae63..28890d0f 100644 --- a/Web/Presenters/templates/Bugtracker/View.xml +++ b/Web/Presenters/templates/Bugtracker/View.xml @@ -67,7 +67,7 @@ {_bug_tracker_reproduced} - ({$bug->getReproducedCount()}) + ({$bug->getReproducedCount()}) {if sizeof($comments) > 0}