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

Also available in: Atom PDF