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

Steffen Gebert steffen at steffen-gebert.de
Tue Aug 25 23:41:27 CEST 2009


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


Solution:
Change them!

Regards
Steffen


More information about the TYPO3-team-core mailing list