* Fix bug#34248.

This commit is contained in:
朱金勇
2023-04-17 05:49:33 +00:00
parent 049cf321f6
commit 68559a8cb8
+2 -2
View File
@@ -772,7 +772,7 @@ class testcaseModel extends model
*/
public function getPairsByProduct($productID, $branch = 0)
{
return $this->dao->select('id, concat_ws(":", id, title) as title')->from(TABLE_CASE)
return $this->dao->select("id, concat_ws(':', id, title) as title")->from(TABLE_CASE)
->where('deleted')->eq(0)
->andWhere('product')->eq($productID)
->beginIF($branch)->andWhere('branch')->in($branch)->fi()
@@ -2334,7 +2334,7 @@ class testcaseModel extends model
if ($isCase == 1) echo $case->stepNumber;
break;
case 'actions':
if ($isCase == 1)
if ($isCase == 1)
{
$case->browseType = $browseType;
echo $this->buildOperateMenu($case, 'browse');