From 50cb4f7ea103a507e3d734af4f54676d5dafeb9a Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 18 Jun 2019 10:52:46 +0800 Subject: [PATCH] * fix bug. --- module/custom/lang/en.php | 2 +- module/testcase/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/custom/lang/en.php b/module/custom/lang/en.php index 360d747b5b..da3e8158fe 100644 --- a/module/custom/lang/en.php +++ b/module/custom/lang/en.php @@ -77,7 +77,7 @@ $lang->custom->user->fields['statusList'] = 'Status'; $lang->custom->user->fields['contactField'] = 'Available Contact'; $lang->custom->user->fields['deleted'] = 'Deleted User'; -$lang->custom->system = array('flow', 'working', 'required', 'score', 'setDynamic'); +$lang->custom->system = array('flow', 'working', 'required', 'score'); $lang->custom->block->fields['closed'] = 'Closed Block'; diff --git a/module/testcase/control.php b/module/testcase/control.php index 00f6c1b4c6..a5b2bc89e7 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -1106,7 +1106,7 @@ class testcase extends control } $stmt = $this->dao->select('t1.*')->from(TABLE_TESTRESULT)->alias('t1') - ->leftJoin('TABLE_TESTRUN')->alias('t2')->on('t1.run=t2.id') + ->leftJoin(TABLE_TESTRUN)->alias('t2')->on('t1.run=t2.id') ->where('t1.`case`')->in(array_keys($cases)) ->beginIF($taskID)->andWhere('t2.task')->eq($taskID)->fi() ->orderBy('id_desc')