$watches = $w->fetchAll();
+ print_R($watches);exit;
+
$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
- $dom = explode(':',$watch->event);
+ $dom = explode(':',$watch->medium);
if (count($dom) != 2) {
continue;
}