[TYPO3-core] RFC #14309: Notice undefined index "error" & "debug" in index_ts.php

"Martin Müller" bugreporters at gmx.de
Wed May 5 10:50:21 CEST 2010


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_for_trunk.diff
Type: application/octet-stream
Size: 912 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100505/ca72050d/attachment.obj>


More information about the TYPO3-team-core mailing list