[TYPO3-dev]  pi_getLL problem with array
    Mario Matzulla 
    mario.melanie at arcor.de
       
    Mon Dec 26 17:47:58 CET 2005
    
    
  
Hi list!
Merry Christmas to all!
I'm having trouble retrieving a language array like:
'l_daysofweek_lang' =>
Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'),
from locallang.
Testing a little bit around I found out, that the problem is located at
the end of 'tslib/class.tslib_pibase.php -> pi_getLL':
<quote pi_getLL>
		
	$output = $this->LLtestPrefix.$word;
	if ($hsc)	$output = htmlspecialchars($output);
	return $output;
</quote>
Something is done to $word, which I don't understand. But if I remove
those lines and return $word everything works fine.
Is this a bug or what am I doing wrong?
Regards
Mario
    
    
More information about the TYPO3-dev
mailing list