[TYPO3-core] RFC #14312: Notice undefined index systemLog und constant TYPO3_ERRORHANDLER_MODE

"Martin Müller" bugreporters at gmx.de
Wed May 5 16:30:23 CEST 2010


This is an SVN patch request.

Type: cleanup

Bugtracker references:
http://bugs.typo3.org/view.php?id=14312

Branches:  trunk

Problem:
Get a notice if page with Extension "page_php_content" is shown.

Notice: Undefined index: systemLog in typo3_src-4.3.3/t3lib/class.t3lib_div.php on line 5410
Notice: Use of undefined constant TYPO3_ERRORHANDLER_MODE - assumed 'TYPO3_ERRORHANDLER_MODE' in typo3_src-4.3.3/t3lib/error/class.t3lib_error_errorhandler.php on line 147

Solution:

Use isset($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_14312_1.diff
Type: application/octet-stream
Size: 1752 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100505/4b7752bd/attachment.obj>


More information about the TYPO3-team-core mailing list