[TYPO3-core] RFC: #15784: Resolve errors in tslib_content
Jeff Segars
jsegars at alumni.rice.edu
Wed Oct 6 19:45:35 CEST 2010
On 9/24/10 3:10 AM, Steffen Kamper wrote:
> Hi,
>
> this is a SVN patch request.
>
> Type: Feature
>
> BT Reference: http://bugs.typo3.org/view.php?id=15711
>
> Branches: trunk (other branches has to be checked)
>
> There are 3 code errors in tslib_content whch prevent some code blocks
> working correct.
>
> 1) a variable is set to TSFE->register before computed
> 2) im_stripProfileCommand can't work as the var is undefined
> 3) TS log message is called on error with empty query
>
> fix it.
>
> vg Steffen
Hey Steffen,
Attached is the v3 patch that we already discussed over Skype.
* Hunk #2 - As Benni mentioned, the isset check is not needed for
im_stripProfileCommand since the value is set in config_default.php.
The only problem is that $gfxConf was not defined.
* Hunk #3 - Split the select query and the actual execution of that
query so that we don't define the same query twice.
Thanks,
Jeff
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15784_v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101006/4d346a8c/attachment.txt>
More information about the TYPO3-team-core
mailing list