Project

General

Profile

Actions

Bug #16038

closed

error in t3lib/config_default.php on setting display_errors

Added by Kovacs Lorinc over 18 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-04-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Found a bug in t3lib/config_default.php on line 368.

this is the buggy:
if($displayErrors=intval($TYPO3_CONF_VARS['SYS']['displayErrors']!='-1')) {

this is fixed:
if($displayErrors=intval($TYPO3_CONF_VARS['SYS']['displayErrors'])!='-1') {

If the original remains, display_errors is always on, as I see.
Please fix it.

(issue imported from #M3246)


Files

bug-3246.diff (654 Bytes) bug-3246.diff Administrator Admin, 2006-07-23 16:56
Actions #1

Updated by Karsten Dambekalns over 18 years ago

This is indeed broken, the suggested fix does not work, though. I attached a patch that does what it should.

Actions #2

Updated by Ernesto Baschny almost 16 years ago

fixed a long time ago, 2006-07-24

Actions

Also available in: Atom PDF