Actions
Bug(バグ) #848
openCommunity::getConfigs() can't fetch default value correctly (Community::getConfigs()でデフォルト値が正しく取得できない)
Start date:
2010-03-12
Due date:
% Done:
0%
Estimated time:
3.6 で発生するか:
Yes
3.8 で発生するか:
Unknown (未調査)
Description
Phenomenon (現象)¶
Community::getConfigs() がデフォルト値を正しく取得しない。
Cause (原因)¶
lib/model/doctrine/Community.class.php
デフォルト値を取得する処理が誤ってます。
// initialize
foreach ($configs as $key => $config)
{
$result[$config['Caption']] = '';
if (isset($config[$key]['Default']))
{
$result[$config['Caption']] = $config[$key]['Default'];
}
}
Way to fix (修正内容)¶
Updated by Shogo Kawahara almost 15 years ago
- Subject changed from Community::getConfig() can't fetch default value correctly(Community::getConfig() で to Community::getConfigs() can't fetch default value correctly (Community::getConfigs()でデフォルト値が正しく取得できない)
Actions