Issue Bug Closed

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

old_yechunjian 08/11/06, 07:52 updated 09/04/13, 19:10

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.