projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd4d1b
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:11:28 +0000
(23:11 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:11:28 +0000
(23:11 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
53fca2f
..
bdc87b4
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-50,8
+50,10
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
function object()
{
$c = DB_DataObject::factory($this->ontable);
- $c->get($this->onid);
- return $c;
+ if ($c->get($this->onid)) {
+ return $c;
+ }
+ return false;
}