Commit d7bf1c5a authored by DiegoMow's avatar DiegoMow Committed by nikunj
Browse files

Issue #2978586 by dev19.addweb, Diego_Mow, vdsh, webrelab, vfabri, ApacheEx,...

Issue #2978586 by dev19.addweb, Diego_Mow, vdsh, webrelab, vfabri, ApacheEx, katin, firewaller, joelpittet: count() warning
parent 5395531a
......@@ -167,7 +167,7 @@ function clientside_validation_regular($form_id, $element, &$js_rules, $form_sta
break;
case 'checkbox':
case 'checkboxes':
$is_multiple = (isset($element['#options']) && count($element['#options']>1));
$is_multiple = (isset($element['#options']) && (count($element['#options']) > 1));
if ($is_multiple && $element['#required']) {
$id = '#' . $element['#id'];
if (isset($element['#entity_type'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment