[TYPO3-core] RFC: Bug #8944: PHP-Error in class.em_index.php on line 4333

Stefan Geith typo3dev2008.nospam1 at geithware.de
Mon Sep 15 17:43:00 CEST 2008


Hi Oliver,

Oliver Klee schrieb:
> Hi Stefan,
> 
> Stefan Geith schrieb:
>> I could change this simply to (1):
>>         $this->CMD = (array) t3lib_div::_GP('CMD');
>> or to (2):
>>         $this->CMD = is_array(t3lib_div::_GP('CMD')) ?
>>                         t3lib_div::_GP('CMD') : array();
>> or to (3):
>>         $this->CMD = t3lib_div::_GP('CMD');
>>     if (!is_array($this->CMD)) {
>>         $this->CMD = array();
>>         }
> 
> I'd prefer (2).

OK: Here it is ...
-
Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0008944-em_index-V2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080915/4804d2be/attachment.txt 


More information about the TYPO3-team-core mailing list