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

Oliver Klee typo3-german-02 at oliverklee.de
Fri Jul 11 23:23:39 CEST 2008


Hi,

Dmitry Dulepov [typo3] schrieb:
> It happens when EM is called from kickstarter, for example. It is 
> perfectly valid situation when $this->CMD is not set. The code is wrong 
> there. If I remember correctly, $this->CMD comes from $_GET, so should 
> be always validated. Currently it is not. So the patch is ok.

So I propose to do the validation once (when $this->CMD is set from the 
GET parameters) instead of in many places (each time it is read). I 
really don't like it when member variables are set to the wrong type.


Oliver


More information about the TYPO3-team-core mailing list