$nn = DB_DataObject::Factory('core_notify');
$nn->ontable = $event->on_table;
$nn->onid = $event->on_id;
foreach($watches as $watch) {
if (!$watch->person_id) { // no people??? bugs in watch table
$nn = DB_DataObject::Factory('core_notify');
$nn->ontable = $event->on_table;
$nn->onid = $event->on_id;
foreach($watches as $watch) {
if (!$watch->person_id) { // no people??? bugs in watch table