Project

General

Profile

Actions

Bug #20925

closed

Wrong order of arguments for typo3PrintError()

Added by Steffen Gebert about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-08-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

11786.patch (1.79 KB) 11786.patch Administrator Admin, 2009-08-25 23:42
0011786_v2.patch (1.79 KB) 0011786_v2.patch Administrator Admin, 2009-08-26 11:23
Actions

Also available in: Atom PDF