projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d899082
)
DataObjects/Events.php
author
KH Lau
<khlau@roojs.com>
Tue, 24 Oct 2017 02:24:08 +0000
(10:24 +0800)
committer
KH Lau
<khlau@roojs.com>
Tue, 24 Oct 2017 02:24:08 +0000
(10:24 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
af10242
..
9585f5b
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-250,12
+250,12
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
if(!empty($q['query']['action'])) {
$act = $this->escape($q['query']['action']);
- $this->whereAdd("
Events
.action LIKE '%{$act}%'");
+ $this->whereAdd("
{$tn}
.action LIKE '%{$act}%'");
}
if(!empty($q['query']['on_table'])) {
$tnb = $this->escape($q['query']['on_table']);
- $this->whereAdd("
Events
.on_table LIKE '%{$tnb}%'");
+ $this->whereAdd("
{$tn}
.on_table LIKE '%{$tnb}%'");
}
}