[Typo3] Bug in newloginbox?

Markus Stauffiger markus at 4eyes.ch
Tue Sep 20 18:41:54 CEST 2005


Hi Typo3-list

I think I've discovered a bug in the newloginbox extension, but as I'm not 
completey sure about I'd like you to take a look:

class.tx_newloginbox_pi1.php

Line 88:
$d = $GLOBALS['TSFE']->getStorageSiterootPids();

So far so good, but now on Line 106, $d is used as a "temporary" variable in 
a loop
foreach(split(',', $this->conf['domains']) as $d)

So, of course, if the script tries to use $d afterwards as it won't find the 
Information (e.g. $d['_STORAGE_PID'])

What do you think?

Greetings
Markus






More information about the TYPO3-english mailing list