diff --git a/src/TwbsHelper/Form/View/Helper/FormRadio.php b/src/TwbsHelper/Form/View/Helper/FormRadio.php index 3a6080061..60c0f1c3e 100644 --- a/src/TwbsHelper/Form/View/Helper/FormRadio.php +++ b/src/TwbsHelper/Form/View/Helper/FormRadio.php @@ -62,7 +62,7 @@ public function render(ElementInterface $oElement) $this->setSeparator(''); $oElement->setLabelAttributes(['class' => $buttonClass]); - return sprintf('
%s
', parent::render($oElement)). "%s"; + return sprintf('
%s
', parent::render($oElement)); } return sprintf(static::$checkboxFormat, parent::render($oElement)); @@ -182,7 +182,6 @@ protected function renderOptions(MultiCheckbox $oElement, array $aOptions, array } $sMarkup .= ($sMarkup ? $this->getSeparator() : '') . $sOptionMarkup; - $sMarkup .= ($iCount == $iNumberOfOptions) ? "%s" : ""; } return $sMarkup;