[TYPO3-dev] typo3 4.3: mysql error caused by dam or by 4.3 trunk?

Oliver Hader oliver at typo3.org
Fri Jan 16 19:07:57 CET 2009


Hi,

Michiel Roos [netcreators] schrieb:
> I applied the patch line by line to find the exact breakage point. And
> here it is:
> 
>  	function dbAnalysisStoreExec()	{
> -		reset($this->dbAnalysisStore);
> -		while(list($k,$v)=each($this->dbAnalysisStore))	{
> -			$id = t3lib_BEfunc::wsMapId($v[4],$this->substNEWwithIDs[$v[2]]);
> +		foreach ($this->dbAnalysisStore as $action) {
> +			$id = t3lib_BEfunc::wsMapId($action[4],
> $this->substNEWwithIDs[$action[2]]);
>  			if ($id)	{
> -				$v[2] = $id;
> -				$v[0]->writeMM($v[1],$v[2],$v[3]);
> +				$action[0]->writeMM($$action[1], $id, $action[3]);
>  			}
>  		}
>  	}

Thanks for pointing out the "$$action[1]" in the last line... If there's
a bug report already I will commit it to SVN Trunk tomorrow.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3




More information about the TYPO3-dev mailing list