心靈捕手 寫:進入 ACP -> AUTOMOD 時, 頁頂出現一些錯誤訊息;
此問題, 尚在
官方論壇請求支援中.
這個問題已經獲得解決, 修正方法如下:
開啟
includes/mod_parser.php
找到
代碼: 選擇全部
for ($j = 0; $j < $changelog_size; $j++)
{
// Ignore changelogs in foreign languages except in the case that there is no
// match for the current user's language
// TODO: Look at modifying localise_tags() for use here.
if (match_language($user->data['user_lang'], $changelog[$j]['attrs']['LANG']))
{
$changelog_id = $j;
}
}
$change_count = sizeof($changelog[$changelog_id]['children']['CHANGE']);
取代成
代碼: 選擇全部
$changelog_id = 0;
for ($j = 0; $j < $changelog_size; $j++)
{
// Ignore changelogs in foreign languages except in the case that there is no
// match for the current user's language
// TODO: Look at modifying localise_tags() for use here.
if (match_language($user->data['user_lang'], $changelog[$j]['attrs']['LANG']))
{
$changelog_id = $j;
}
}
$change_count = isset($changelog[$changelog_id]['children']['CHANGE']) ? sizeof($changelog[$changelog_id]['children']['CHANGE']) : 0;
儲存與關閉
參考連結:
http://www.phpbb.com/community/viewtopi ... 5#p8520185