[Typo3] Bug in newloginbox?

Peter Russ peter.russ at 4many.net
Wed Sep 21 09:58:52 CEST 2005


Markus Stauffiger wrote:

> 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

It might cause problems: file a bug at bugs.typo3.org if not already there.

Regs. Peter.


-- 
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ



More information about the TYPO3-english mailing list