Index: class.t3lib_div.php =================================================================== --- class.t3lib_div.php (Revision 17857) +++ class.t3lib_div.php (Arbeitskopie) @@ -4065,7 +4065,8 @@ foreach($params as $theP) { $pKV = explode('=', $theP); // Splitting single param by '=' sign if (!t3lib_div::inList('id,type,no_cache,cHash,MP,ftu,L',$pKV[0]) && !preg_match('/TSFE_ADMIN_PANEL\[.*?\]/',$pKV[0])) { - $pA[rawurldecode($pKV[0])] = (string)rawurldecode($pKV[1]); + $paramsValue = (string)rawurldecode($pKV[1]); + if($paramsValue) $pA[rawurldecode($pKV[0])] = $paramsValue; } } // Hook: Allows to manipulate the parameters which are taken to build the chash: @@ -4083,9 +4084,12 @@ } } } + // Finish and sort parameters array by keys: - $pA['encryptionKey'] = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']; - ksort($pA); + if(count($pA)){ + $pA['encryptionKey'] = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']; + ksort($pA); + } return $pA; }