projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Notify.php
[Pman.Core]
/
Notify.php
diff --git
a/Notify.php
b/Notify.php
index
247607c
..
94f6752
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-91,9
+91,11
@@
class Pman_Core_Notify extends Pman
$this->send_to = $opts['send-to'];
}
-
+
$w = DB_DataObject::factory('core_notify_recur');
- $w->generateNotifications();
+ if (is_a($w, 'DB_DataObject')) {
+ $w->generateNotifications();
+ }
//DB_DataObject::debugLevel(1);