[TASK] Follow-up: Add filter for available records, CGL 27/24727/2
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Mon, 14 Oct 2013 09:56:29 +0000 (11:56 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 14 Oct 2013 10:01:54 +0000 (12:01 +0200)
Resolves: #49739
Releases: 6.2
Change-Id: Iee24b073e0f5fdf7da469c289f21219b35c62928
Reviewed-on: https://review.typo3.org/24727
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/Form/FormEngine.php

index e4adbb2..daa35d4 100644 (file)
@@ -560,7 +560,7 @@ class FormEngine {
        public $templateFile = '';
 
        /**
-        * @var int
+        * @var integer
         */
        protected $multiSelectFilterCount = 0;
 
@@ -2314,7 +2314,7 @@ function ' . $evalData . '(value) {
 
                        if (isset($config['multiSelectFilterItems']) && is_array($config['multiSelectFilterItems']) && count($config['multiSelectFilterItems']) > 1) {
                                $filterDropDownOptions = array();
-                               foreach($config['multiSelectFilterItems'] as $optionElement) {
+                               foreach ($config['multiSelectFilterItems'] as $optionElement) {
                                        $filterDropDownOptions[] = '<option value="' . htmlspecialchars($this->sL($optionElement[0])) . '">' . htmlspecialchars((isset($optionElement[1]) && $optionElement[1] != '') ? $this->sL($optionElement[1]) : $this->sL($optionElement[0])) . '</option>';
                                }
                                $filterSelectbox = '