[TYPO3-core] RFC #14243: some notices, undefined index in tslib_fe.php by using "page_php_content" Extension

"Martin Müller" bugreporters at gmx.de
Thu Apr 29 14:39:02 CEST 2010


requested changes:

  * null -> NULL
  * spaces between ) and { at function head

New patch file is attached.

Regards Martin

Btw: Attachment content-type could not be changed at this freemail provider.

-------- Original-Nachricht --------
> Datum: Thu, 29 Apr 2010 10:25:19 +0200
> Von: "Martin Müller" <bugreporters at gmx.de>
> An: typo3-team-core at lists.typo3.org
> Betreff: [TYPO3-core]  RFC #14243: some notices, undefined index in tslib_fe.php by using "page_php_content" Extension

> This is an SVN patch request.
> 
> Type: cleanup
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14243
> 
> Branches:  trunk
> 
> Problem:
> In Typo3 4.3.3 some notice warnings if error_reporting is set to E_ALL and
> Extension "page_php_content" is used on page.
> 
> for example:
> Notice: Undefined index: disableCharsetHeader in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3374
> Notice: Undefined index: sendCacheHeaders_onlyWhenLoginDeniedInBranch in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3457
> Notice: Undefined index: additionalHeaders in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3385
> Notice: Undefined index: USERNAME_substToken in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3540
> Notice: Undefined index: USERUID_substToken in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3545
> Notice: Undefined index: prefixLocalAnchors in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3318
> Notice: Undefined index: contentPostProc-output in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3424
> Notice: Undefined index: enableContentLengthHeader in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3433
> Notice: Undefined index: EXTincScript in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3584
> 
> Notice: Undefined index: microtime_BE_USER_end in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3606
> Notice: Undefined index: microtime_BE_USER_start in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3606
> Notice: Undefined index: stat_excludeBEuserHits in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3718
> Notice: Undefined index: stat_excludeIPList in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3719
> Notice: Undefined index: stat_apache in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3782
> Notice: Undefined index: hook_eofe in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3855
> Notice: Undefined index: beLoginLinkIPList in
> typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3869 
> 
> Solution:
> 
> use of empty(..) instead of !$variable
> 
> 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_14243_2.diff
Type: application/octet-stream
Size: 11353 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100429/0353cae0/attachment-0001.obj>


More information about the TYPO3-team-core mailing list