Issue Bug Closed

#20925Wrong order of arguments for typo3PrintError()

Steffen Gebert 08/25/09, 23:36 updated 08/06/10, 13:26

Description

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

(issue imported from #M11786)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.