changed ->input[] to ->get_input()

PR for issue https://github.com/mybb/mybb/issues/1526
Why do you keep the cast?