Bug #22311 ยป typo3-4.3.2-no-typo3temp-fill-with-javascript-INPfixMD5-1.patch

Administrator Admin, 2010-03-22 14:24

View differences:

typo3/sysext/cms/tslib/class.tslib_menu.php 2010-03-22 14:08:35.000000000 +0100
2328 2328
		if (is_array($this->menuArr) && is_array($this->result) && count($this->result) && is_array($this->result['NO']))	{
2329 2329
			$this->WMcObj = t3lib_div::makeInstance('tslib_cObj');	// Create new tslib_cObj for our use
2330 2330
			$this->WMresult = '';
2331
			$this->INPfixMD5 = substr(md5(microtime().$this->GMENU_fixKey),0,4);
2331
			$this->INPfixMD5 = substr(md5(serialize($this->result['NO']).$this->GMENU_fixKey),0,4);
2332 2332
			$this->WMmenuItems = count($this->result['NO']);
2333 2333

  
2334 2334
			$this->WMsubmenuObjSuffixes = $this->tmpl->splitConfArray(array('sOSuffix'=>$this->mconf['submenuObjSuffixes']),$this->WMmenuItems);
    (1-1/1)