From 72155fc3b86015556f9b57cb81e4c8b71b86b57f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Wed, 19 Apr 2023 01:41:34 +0000 Subject: [PATCH] * Fix bug for dmdb. --- module/common/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index 6213c93030..6633796d01 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1871,7 +1871,7 @@ EOF; if(empty($types)) return; $condition .= ' AND `type` in (' . trim($types, ',') . ')'; } - $pipelineList = $app->dbh->query("SELECT type,name,url FROM " . TABLE_PIPELINE . " WHERE `deleted` = '0' $condition order by type")->fetchAll(); + $pipelineList = $app->dbh->query("SELECT `type`,name,url FROM " . TABLE_PIPELINE . " WHERE `deleted` = '0' $condition order by type")->fetchAll(); if(empty($pipelineList)) return; $appCommon = isset($lang->db->custom['devopsMenu']['menu']['app']) ? $lang->db->custom['devopsMenu']['menu']['app'] : $lang->app->common;