* [misc] filter doc template on upgrade.

This commit is contained in:
sunhao
2025-02-25 08:30:54 +08:00
committed by 曹延义
parent 8063043acc
commit 4e0afe51e0
+1
View File
@@ -10660,6 +10660,7 @@ class upgradeModel extends model
->where('t2.type')->in(array('doc', 'html'))
->andWhere('t1.status')->ne('draft')
->andWhere('t2.rawContent')->in(null)
->andWhere('t1.templateType')->eq('')
->fetchAll('id', false);
$newDocs = array();