Fixes #1014 typecast conversions

(int)$mybb->input['XXXX'] to $mybb->get_input('XXXX', 1)