From ff6730dcbd496bc56b7de82bb31c19c55276ac60 Mon Sep 17 00:00:00 2001 From: wangyuting <851424971@qq.com> Date: Fri, 18 Nov 2022 03:01:40 +0000 Subject: [PATCH] * Fix bug #29942. --- module/my/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/my/control.php b/module/my/control.php index 5862cca858..b95ee5f574 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -127,7 +127,7 @@ class my extends control $storyCount = $assignedToStoryCount + $reviewByStoryCount; $requirementCount = 0; - $isOpenedURAndSR = $this->config->URAndSR; + $isOpenedURAndSR = $this->config->URAndSR ? 1 : 0; if($isOpenedURAndSR) { /* Get the number of requirements assigned to me. */