diff --git a/components/com_fabrik/models/form.php b/components/com_fabrik/models/form.php index 0e174c17d1c..6edc75f58e0 100644 --- a/components/com_fabrik/models/form.php +++ b/components/com_fabrik/models/form.php @@ -4374,9 +4374,14 @@ public function getGroupView($tmpl = '') // Style attribute for group columns (need to occur after randomisation of the elements otherwise clear's are not ordered correctly) $rowix = -1; - foreach ($aElements as $elKey => $element) + + // Don't double setColumnCss otherwise wierdness ensues + if (!$groupModel->canRepeat()) { - $rowix = $groupModel->setColumnCss($element, $rowix); + foreach ($aElements as $elKey => $element) + { + $rowix = $groupModel->setColumnCss($element, $rowix); + } } $group->elements = $aElements; $group->subgroups = $aSubGroups;