projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
079abd1
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Jul 2012 07:47:18 +0000
(15:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Jul 2012 07:47:18 +0000
(15:47 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
fbc58bf
..
d6415f4
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-122,10
+122,16
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
function applyFilters($q, $au, $roo)
{
- if (isset($q['ontable'])) {
+ if (isset($q['ontable']) && !in_array($q['ontable'], array('Person', 'Events' . 'core_watch')) {
+ // this will only work on tables not joined to ours.
+
+
// then we can build a join..
$d = DB_DataObject::Factory($q['ontable']);
$d->autoJoin();
+ $this->selectAdd($d->data_select);
+
+ $this->_join .= $d->join;
echo '<PRE>';print_R($d);
exit;