[TYPO3-core] RFC #14222: Notice undefined index in tslib_pibase.php

"Martin Müller" bugreporters at gmx.de
Thu Apr 29 09:55:08 CEST 2010


This is an SVN patch request.

Type: cleanup

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

Branches:  trunk

Problem:
Get a notice if TypoScript parameter not set.

Notice: Undefined index: language_alt in /typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_pibase.php on line 223

It is a missing value of $GLOBALS['TSFE']->config['config']['language_alt']

Solution:

Correct this to:
if (isset($GLOBALS['TSFE']->config['config']['language_alt']))


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_14222.diff
Type: application/octet-stream
Size: 727 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100429/36cfd17c/attachment.obj>


More information about the TYPO3-team-core mailing list