Project

General

Profile

Actions

Bug #16457

closed

when config.locale_all is empty string,steLocale will not work

Added by old_yechunjian over 18 years ago. Updated about 11 years ago.

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

0%

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

Description

function settingLocale in class.tslib_fe.php 2048 line
here maybe has a bug,if config['config']['locale_all'] is just empty "",function will not work.
sometimes,we need setlocale(LC_*,'') to set locale use the values of environment variables
so modify if ($this->config['config']['locale_all']) {
correct is :
if (isset($this->config['config']['locale_all'])) {
use isset function

(issue imported from #M4020)


Files

class.tslib_fe.php (162 KB) class.tslib_fe.php Administrator Admin, 2006-08-11 07:52
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Category deleted (Communication)
  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)
  • PHP Version deleted (4)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Martin Kutschker)

No feedback for over 90 days.

Actions

Also available in: Atom PDF