[TYPO3-core] RFC #11786: Wrong order of arguments for typo3PrintError()

Oliver Hader oliver at typo3.org
Wed Aug 26 11:19:49 CEST 2009


Hi Steffen,

Steffen Gebert schrieb:
> Hi!
> 
> This is a SVN patch request.
> 
> Type: nobrainer
> 
> Branches: trunk
> 
> BT reference:
> http://bugs.typo3.org/view.php?id=11786
> 
> Problem:
> typo3PrintError() is defined as following:
> 
> function typo3PrintError($header,$text,$js='',$head=1)
> 
> So:
> * first argument: short headline
> * second argument: description of the error
> 
> This is mixed up in some places in core, e.g
> Headline: The current username, password or host was not accepted when
> the connection to the database was attempted to be established!
> Reason: Database Error

+1 on reading and testing

There are some minor spacing issues I'm going to take care of before
committing.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list