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}