#107407 by dopry, optimization patch, do nothing in hook_form_alter() and hook_nodeapi() if there are no fields.