fix typo to make directory safe mode default to on work again
This commit is contained in:
parent
f6cf992aee
commit
e12d58a75c
@ -82,7 +82,7 @@ function get_directory_setting($observer, $setting) {
|
||||
if($ret === false)
|
||||
$ret = get_config('directory', $setting);
|
||||
|
||||
if($setting == 'safe_mode' && $ret === false)
|
||||
if($setting == 'safemode' && $ret === false)
|
||||
$ret = 1;
|
||||
|
||||
return $ret;
|
||||
|
Reference in New Issue
Block a user