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

Steffen Gebert steffen at steffen-gebert.de
Thu Apr 29 10:46:09 CEST 2010


Am 29.04.2010, 10:25 Uhr, schrieb Martin Müller <bugreporters at gmx.de>:

> 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.

Thanks for your patch, Martin!

As changed lines have to follow the coding guide lines (CGLs), please:
* use one space between parenthesis and {
   if (..) {
   instead of
   if (..)	{

* use tabs for intendation (the $microtime* part)
   place ( ) around the condition here:
   (isset($this->config['config']['prefixLocalAnchors'])) ?  
$this->config['config']['prefixLocalAnchors'] : null;
   instead of
   isset($this->config['config']['prefixLocalAnchors']) ?  
$this->config['config']['prefixLocalAnchors'] : null;

It would help to enable whitespace characters in your IDE ;-)

Thanks
Steffen


More information about the TYPO3-team-core mailing list