Actions
Bug #16457
closedwhen config.locale_all is empty string,steLocale will not work
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
Actions