From: Alan Knowles Date: Wed, 9 Dec 2020 06:06:26 +0000 (+0800) Subject: DataObjects/Core_templatestr.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=d13fee56f1e14646f7625ef5e35df454836e711f DataObjects/Core_templatestr.php --- diff --git a/DataObjects/Core_templatestr.php b/DataObjects/Core_templatestr.php index 204c85f4..9dfb6b48 100644 --- a/DataObjects/Core_templatestr.php +++ b/DataObjects/Core_templatestr.php @@ -47,7 +47,7 @@ class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject if(!empty($q['on_table']) && (empty($q['template_id']) || !is_numeric($q['template_id']))){ $this->template_id = 0; - $this->whereAdd(" OR join_src_id_id.txt != ''"); + $this->whereAdd(" join_src_id_id.txt != ''"); } if (!empty($q['_search_txt'])) { $str = $this->escape($q['_search_txt']);