diff --git a/gmap_plugin_style_gmap.inc b/gmap_plugin_style_gmap.inc index 4cace42f2e73eefd5ef140ff2b9ae8402ac0234e..c9be6fe0387bef8902f922cf3feccbc754214eb3 100644 --- a/gmap_plugin_style_gmap.inc +++ b/gmap_plugin_style_gmap.inc @@ -466,6 +466,7 @@ class gmap_plugin_style_gmap extends views_plugin_style { * Validate the options form. */ function options_validate(&$form, &$form_state) { + parent::options_validate($form, $form_state); // Check if highlight color is a valid hex color if (!preg_match('/^#[a-f0-9]{6}$/i', $form_state['values']['style_options']['highlight_nodearg_color'])) { form_error($form['highlight_nodearg_color'], t('Highlight colour must be a valid hex code in the form #FF0000.')); diff --git a/gmap_plugin_style_gmapextended.inc b/gmap_plugin_style_gmapextended.inc index 1eafa8005f187c528f202915e16cfa163f62f239..20d1dfa75e55398dd62156a2e7d69d02fb9b086c 100644 --- a/gmap_plugin_style_gmapextended.inc +++ b/gmap_plugin_style_gmapextended.inc @@ -322,6 +322,7 @@ class gmap_plugin_style_gmapextended extends views_plugin_style { * Validate the options form. */ function options_validate(&$form, &$form_state) { + parent::options_validate($form, $form_state); // Check if highlight color is a valid hex color if (!preg_match('/^#[a-f0-9]{6}$/i', $form_state['values']['style_options']['highlight_nodearg_color'])) { form_error($form['highlight_nodearg_color'], t('Highlight colour must be a valid hex code in the form #FF0000.'));