* [task#142969,done,1h] Upgrade custom template types.

This commit is contained in:
daitingting
2025-05-15 09:46:09 +08:00
committed by 刘刚
parent f94723b859
commit 79381acca4
+1 -1
View File
@@ -4034,7 +4034,7 @@ class docModel extends model
->where('module')->eq('baseline')
->andWhere('section')->eq('objectList')
->andWhere('system')->eq('0')
->fetchPairs('`key`');
->fetchPairs();
if(empty($oldTemplateTypes)) return true;
$parentID = $this->dao->select('id')->from(TABLE_MODULE)->where('short')->eq('Project other')->fetch('id');