fixbug_23768

This commit is contained in:
sunjun
2022-06-30 09:26:19 +00:00
parent c0a04777e5
commit 183b1a716b
7 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -1670,7 +1670,7 @@ class testcaseModel extends model
$caseIdList = explode(',' , $caseIdList);
$libID = $this->post->lib;
if(empty($libID)) return dao::$errors[] = sprintf($this->lang->error->notempty, $this->lang->testcase->lib);
if(empty($libID)) return dao::$errors[] = sprintf($this->lang->error->notempty, $this->lang->testcase->caselib);
$this->loadModel('action');
$cases = $this->dao->select('*')->from(TABLE_CASE)->where('deleted')->eq(0)->andWhere('id')->in($caseIdList)->fetchAll('id');