projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb59c90
)
DataObjects/Core_watch.php
author
Alan Knowles
<alan@akbkhome.com>
Wed, 6 Apr 2011 08:06:12 +0000
(16:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 6 Apr 2011 08:06:12 +0000
(16:06 +0800)
DataObjects/Core_watch.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_watch.php
b/DataObjects/Core_watch.php
index
43716f6
..
adbf0d8
100644
(file)
--- a/
DataObjects/Core_watch.php
+++ b/
DataObjects/Core_watch.php
@@
-63,6
+63,9
@@
class Pman_Core_DataObjects_Core_watch extends DB_DataObject
$nn->ontable = $ontable;
$nn->onid = $onid;
foreach($people as $p) {
+ if (!$p) {
+ continue;
+ }
$n = clone($nn);
$n->person_id = $p;
$nf = clone($n);