[BUGFIX] accessibilityWrap ignores simple value
authorJigal van Hemert <jigal@xs4all.nl>
Mon, 9 Jul 2012 21:02:29 +0000 (23:02 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Mon, 9 Jul 2012 21:03:35 +0000 (23:03 +0200)
Radio buttons with accessibilityWrap must use simple value
if no complex configuration is supplied. An extra dot prevented
this.

Change-Id: Ie9fa38f075eb5c4b9bfa4679f08bb325b9e177ac
Fixes: #38791
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/12728
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/cms/tslib/content/class.tslib_content_form.php

index e780780..23a6798 100644 (file)
@@ -504,7 +504,7 @@ class tslib_content_Form extends tslib_content_Abstract {
                                                if ($accessibility) {
                                                        $accessibilityWrap = isset($conf['radioWrap.']['accessibilityWrap.'])
                                                                ? $this->cObj->stdWrap($conf['radioWrap.']['accessibilityWrap'], $conf['radioWrap.']['accessibilityWrap.'])
-                                                               : $conf['radioWrap.']['accessibilityWrap.'];
+                                                               : $conf['radioWrap.']['accessibilityWrap'];
 
                                                        if ($accessibilityWrap) {
                                                                $search = array(