projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29141d6
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 23 Aug 2011 07:03:53 +0000
(15:03 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 23 Aug 2011 07:03:53 +0000
(15:03 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
fe0325e
..
b7c4aa3
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-59,6
+59,10
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
return $set;
}
$c = DB_DataObject::factory($this->ontable);
+ if ($this->onid === 0) {
+ return $c; // empty dataobject.
+ }
+
$c->autoJoin();
if ($c->get($this->onid)) {
return $c;