[TASK] Fix CGL issue in t3lib/config_default.php
authorOliver Hader <oliver@typo3.org>
Thu, 13 Oct 2011 15:47:35 +0000 (17:47 +0200)
committerOliver Hader <oliver@typo3.org>
Thu, 13 Oct 2011 15:48:39 +0000 (17:48 +0200)
Change-Id: I7b9f175ce7882399528d61f338defc8db43746c8
Reviewed-on: http://review.typo3.org/5772
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
t3lib/config_default.php

index 87c9a09..7e9b8b6 100644 (file)
@@ -845,7 +845,7 @@ if (isset($GLOBALS['TYPO3_CONF_VARS']['FE']['userFuncClassPrefix'])) {
        if(is_string($GLOBALS['TYPO3_CONF_VARS']['FE']['userFuncClassPrefix'])) {
                if(is_null($GLOBALS['TYPO3_CONF_VARS']['SYS']['additionalAllowedClassPrefixes'])) {
                        $GLOBALS['TYPO3_CONF_VARS']['SYS']['additionalAllowedClassPrefixes'] = $GLOBALS['TYPO3_CONF_VARS']['FE']['userFuncClassPrefix'];
-               } else if(is_string($GLOBALS['TYPO3_CONF_VARS']['SYS']['additionalAllowedClassPrefixes'])) {
+               } elseif (is_string($GLOBALS['TYPO3_CONF_VARS']['SYS']['additionalAllowedClassPrefixes'])) {
                        $GLOBALS['TYPO3_CONF_VARS']['SYS']['additionalAllowedClassPrefixes'] .= ',' . $GLOBALS['TYPO3_CONF_VARS']['FE']['userFuncClassPrefix'];
                }
        }