[#30350] mod_search uses wrong function for text input maxlength

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=30350