- $sql = "insert into tt_cron (team_id, cron_spec, next, report_id, email, status)
- values ($team_id, ".$mdb2->quote($cron_spec).", $next, $report_id, ".$mdb2->quote($email).", ".$mdb2->quote($status).")";
+ $sql = "insert into tt_cron (team_id, cron_spec, next, report_id, email, report_condition, status)
+ values ($team_id, ".$mdb2->quote($cron_spec).", $next, $report_id, ".$mdb2->quote($email).", ".$mdb2->quote($report_condition).", ".$mdb2->quote($status).")";