I'm clicking around after a new installation and all seems okay apart from the fact that this appears at the top of each page...
created by staff -'.$thisuser->getName()); } }else{ $errors=$errors?$errors:'Unable to create the ticket. Correct the error(s) and try again'; } return $ticket; } function checkOverdue(){ global $cfg; if(($hrs=$cfg->getGracePeriod())) { $sec=$hrs*3600; $sql='SELECT ticket_id FROM '.TICKET_TABLE.' WHERE status=\'open\' AND isoverdue=0 '. ' AND ((reopened is NULL AND duedate is NULL AND TIME_TO_SEC(TIMEDIFF(NOW(),created))>='.$sec.') '. ' OR (reopened is NOT NULL AND duedate is NULL AND TIME_TO_SEC(TIMEDIFF(NOW(),reopened))>='.$sec.') '. ' OR (duedate is NOT NULL AND duedatemarkOverdue(true)) $ticket->logActivity('Ticket Marked Overdue','Ticket flagged as overdue by the system.'); } } } } ?>
Have I missed something obvious?
Any advice appreciated!