Notice: Undefined index: body-style error

1 post / 0 new
joshua
joshua's picture
Notice: Undefined index: body-style error

After removing Body Style this error message keeps coming up I messed something up and not quite sure how to make this go away.

Notice: Undefined index: body-style in cars_dealer_form_views_exposed_form_alter() (line 240 of /home/adrenalinemotors/public_html/sites/all/themes/cars_dealer/template.php).

Warning: Invalid argument supplied for foreach() in cars_dealer_form_views_exposed_form_alter() (line 240 of /home/adrenalinemotors/public_html/sites/all/themes/cars_dealer/template.php).

example: 2010 Aston Martin A TEST [node:field_body_style]

Any help would be great.

Thank you!