[TYPO3-dev] Bug (?) in newloginbox extension

Markus bertheau mbertheau.typo3 at gmail.com
Tue Apr 4 06:24:58 CEST 2006


Hi,

ISTM, that the extension updater in the newloginbox extension will
only ever update one row instead of all rows because the main while
loop in it looks like this:

(from class.ext_update.php)

	while($row=mysql_fetch_assoc($res))	{
........
	
		$updateQ = t3lib_BEfunc::DBcompileUpdate('tt_content','uid='.intval($row['uid']),$updateRecord);
		$res = mysql(TYPO3_db,$updateQ);
				
		return $count.' ROW updated.';
	}

So only the first row is ever processed.

Am I missing something?

Markus Bertheau




More information about the TYPO3-dev mailing list