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

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

index 56529d4..3f8742a 100644 (file)
@@ -491,7 +491,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(