projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06718c1
)
DataObjects/Core_templatestr.php
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Dec 2020 06:05:17 +0000
(14:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Dec 2020 06:05:17 +0000
(14:05 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
2a8556f
..
a08be89
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-45,7
+45,7
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
$this->applyFiltersTree($q,$roo);
}
- if(!empty($q['on_table']) &&
!is_numeric($q['template_id']
)){
+ if(!empty($q['on_table']) &&
(empty($q['template_id']) || !is_numeric($q['template_id'])
)){
$this->template_id = 0;
}
if (!empty($q['_search_txt'])) {