checkStaffPerm($thisstaff, Ticket::PERM_EDIT))) die('Access Denied'); $info=Format::htmlchars(($errors && $_POST)?$_POST:$ticket->getUpdateInfo(), true); if ($_POST) // Reformat duedate to the display standard (but don't convert to local // timezone) $info['duedate'] = Format::date(strtotime($info['duedate']), false, false, 'UTC'); ?>