DataObjects/Cms_templatestr.php
authorAlan <alan@roojs.com>
Fri, 24 Feb 2023 07:33:16 +0000 (15:33 +0800)
committerAlan <alan@roojs.com>
Fri, 24 Feb 2023 07:33:16 +0000 (15:33 +0800)
DataObjects/Cms_templatestr.php

index ad78fe8..54d913c 100644 (file)
@@ -171,7 +171,7 @@ class Pman_Cms_DataObjects_Cms_templatestr extends DB_DataObject
                 $x->autoJoin();
                 $x->selectAdd();
                 $x->selectAdd('distinct(template_id) as template_id');
-                $x->whereAdd('join_template_id_id.is_deleted = 0');
+                $x->whereAdd('join_cms_template_id_id.is_deleted = 0');
                 $x->lang = $q['node'];
                 $ids = $x->fetchAll('template_id');