I was able to fix this by adding isoverdue=0, to the function reopen();
include/class.ticket.php
//set status to open on a closed ticket.
function reopen(){
global $thisuser;
$sql= 'UPDATE '.TICKET_TABLE.' SET status='.db_input('open').',isanswered=0,isoverdue=0,updated=NOW(),reopened=NOW() WHERE ticket_id='.db_input($thi
s->getId()); return (db_query($sql) && db_affected_rows())?true;
}
Keep in mind if the ticket was already set to overdue then it will still be overdue. (not sure why but thats actually a good thing anyway).