在升級討論區至 3.2.2 版本後會發現發表有附加檔案時的文章,再次編輯該文章時的附加檔案會只出現一筆資料。
解決方式:
開啟 /includes/functions_posting.php
尋找
代碼: 選擇全部
($config['display_order']) ? krsort($attachment_data) : ksort($attachment_data);
代碼: 選擇全部
$attachrow_template_vars = [];
代碼: 選擇全部
$attachrow_template_vars = array();
官方討論串請見:
https://www.phpbb.com/community/viewtop ... ttachments
解決方式:
https://github.com/phpbb/phpbb/pull/5082/files