[TYPO3-dev] tslib_cObj::fillInArray
Peter Russ
peter.russ at 4many.net
Thu Dec 17 11:06:03 CET 2009
--- Original Nachricht ---
Absender: Oliver Klee
Datum: 17.12.2009 10:56:
> Hi,
>
> Peter Russ schrieb:
>> Isn't the check obsolete?
>
> Yes. My guess is that that check was there before we introduced the type
> hinting in the function declaration.
>
>
> Oli
BUT...
old version without the type declaration had the advantage to get
markerarray filled with empty string, if a fieldlist was provided but no
record/row or no record was found.
"New" version creates IMHO more overhead as is has to be checked on each
place if a query returns a row before using fillInArray
I think that should be fixed here.
Peter.
--
loans that change lives http://www.kiva.org
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
More information about the TYPO3-dev
mailing list