Skip to content
Snippets Groups Projects
Commit 8165fc5d authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5880: fixing banner validation when no media or non banner is selected

parent 0a4ad3ad
No related branches found
No related tags found
3 merge requests!284Feature/istwcms 5880 ebremner banners above,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
......@@ -1055,6 +1055,7 @@ function _uw_cfg_common_banner_validate(array &$form, FormStateInterface $form_s
// then perform the validation.
if (
isset($values['field_uw_type_of_media']) &&
!empty($values['field_uw_type_of_media']) &&
$values['field_uw_type_of_media'][0]['value'] == 'banner'
) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment