From 6da546e2a4491b33160a880cf78a0bc9f14e9959 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 3 Sep 2021 13:24:30 +0800 Subject: [PATCH] * Load the language item of the bug. --- module/block/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/block/control.php b/module/block/control.php index a5bb233453..6e77f100d0 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -1738,7 +1738,8 @@ class block extends control $this->app->loadLang('execution'); } - if($objectType == 'risk') $this->app->loadLang('risk'); + if($objectType == 'bug') $this->app->loadLang('bug'); + if($objectType == 'risk') $this->app->loadLang('risk'); if($objectType == 'issue') $this->app->loadLang('issue'); $count[$objectType] = count($objects);