[TYPO3-core] RFC: Bug #8944: PHP-Error in class.em_index.php on line 4333
Oliver Hader
oliver at typo3.org
Mon Nov 17 13:20:05 CET 2008
Hi Stefan,
Stefan Geith schrieb:
> 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 ...
+1 on reading
olly
--
Oliver Hader
TYPO3 4.3 Release Manager
More information about the TYPO3-team-core
mailing list