// who to send to..
$d = DB_DataObject::factory('core_person');
- $d->whereAddIn('id', array($t->created_person_id, $t->developer_id));
+ $d->whereAddIn('id', array($t->created_person_id, $t->developer_id), 'int');
$d->whereAdd('telegram_id > 0');
$sendto = $d->fetchAll('id','telegram_id');