From 3b31984c72fe6b8e6a293101bfa431f85b2ea41c Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Fri, 25 Sep 2020 10:21:17 +0800 Subject: [PATCH] * Fix code style. --- module/custom/control.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/module/custom/control.php b/module/custom/control.php index c854260b6b..53555e6891 100644 --- a/module/custom/control.php +++ b/module/custom/control.php @@ -461,12 +461,13 @@ class custom extends control ->andWhere('`key`')->eq('URSRName') ->fetch('value'); - $this->view->title = $this->lang->custom->common; - $this->view->position[] = $this->lang->custom->common; $this->view->URSRName = json_decode($URSRName); } + $this->view->title = $this->lang->custom->common; + $this->view->position[] = $this->lang->custom->common; $this->view->type = $type; + $this->display(); } @@ -521,8 +522,6 @@ class custom extends control ->andWhere('`key`')->eq('URSRName') ->fetch('value'); - $this->view->title = $this->lang->custom->configureScrum; - $this->view->position[] = $this->lang->custom->configureScrum; $this->view->URSRName = json_decode($URSRName); } @@ -552,7 +551,10 @@ class custom extends control $this->view->lang2Set = str_replace('_', '-', $lang); } + $this->view->title = $this->lang->custom->configureScrum; + $this->view->position[] = $this->lang->custom->configureScrum; $this->view->type = $type; + $this->display(); }