osTicket/osTicket-1.8 — pull request #471 by dbinoj (2014-01-25 17:02:35+00:00)
Title: Allow staff with numeric usernames to be authenticated

If a staff's username contains only numbers, it may be misunderstood as internal ID. While this quick fix allows users with numeric usernames to login, there may be a case where internal ID of one staff is username of other staff. TODO: Staff::load should accept another variable stating if var is internal ID or username or email.