[TYPO3-core] RFC: #4155 / userFunc in conditions / t3lib_div::callUserFunction
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Sep 7 15:28:13 CEST 2006
Wolfgang Klinger schrieb:
> *hiya!*
>
> This is a patch request (trunk).
>
> http://bugs.typo3.org/view.php?id=4155
>
> The attached patch uses t3lib_div::callUserFunction instead of
> reinventing the wheel here.
Right.
Do I understand that
if (count($funcValues) == 1) list($funcValues) = $funcValues;
is the same as
if (count($funcValues) == 1) $funcValues = $funcValues[0];
The list() here is confusing me.
> I changed t3lib_div too to return FALSE explicitly in
> callUserFunction.
Yeah, but Dmitry is probably right aboit simple using $content = FALSE at
the very beginning.
So +1 (also for the clean up).
Masi
More information about the TYPO3-team-core
mailing list