[TYPO3-core] RFC #14309: Notice undefined index "error" & "debug" in index_ts.php
"Martin Müller"
bugreporters at gmx.de
Wed May 5 12:23:32 CEST 2010
Little correction of patch file edited line value ;-)
v2 working patch file.
Regards
-------- Original-Nachricht --------
> Datum: Wed, 05 May 2010 10:50:21 +0200
> Von: "Martin Müller" <bugreporters at gmx.de>
> An: typo3-team-core at lists.typo3.org
> Betreff: [TYPO3-core] RFC #14309: Notice undefined index "error" & "debug" in index_ts.php
> This is an SVN patch request.
>
> Type: cleanup
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14309
>
> Branches: trunk
>
> Problem:
> Get a notice if page with Extension "page_php_content" is shown.
>
> Notice: Undefined index: debug in typo3/sysext/cms/tslib/index_ts.php on
> line 518
> Notice: Undefined variable: error in typo3/sysext/cms/tslib/index_ts.php
> on line 575
>
> Solution:
>
> Use !empty($var) instead of $var on conditional code.
>
> Notes: No
>
> Regards Martin
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_14309_2_for_trunk.diff
Type: application/octet-stream
Size: 931 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100505/f36ec863/attachment.obj>
More information about the TYPO3-team-core
mailing list