$notif->send_new_bug_notice($bug->values, $comment->values);
$bug = new BugAPI(); // need to destroy because update will think the insert fields need to be changed, too
- $bug->dorelations = array();
$bug->set('bugid', $comment->values['bugid']);
- $bug->set_condition();
$bug->fetch();
$bug->set('dateline', $comment->values['dateline']);
$bug->set('initialreport', $comment->insertid);