#author("2023-01-08T19:00:44+09:00;2022-12-28T01:45:39+09:00","","") #author("2023-01-08T19:01:16+09:00","","") * func.php: PHP8.0で削除されたjoin(array $array, string $separator)が使われている [#q5172d92] - ページ: [[BugTrack]] - 投稿者: [[ぬぺぺ]] - 優先順位: 低 - 状態: 提案 - カテゴリー: 本体バグ - 投稿日: 2022-12-24 (土) 12:06:59 - バージョン: 1.5.4 ** メッセージ [#n09e9147] タイトルの通りです。 ***該当部分 [#g0ac5ba2] func.php /** * Write update_log on updating contents. * * @param $page page name * @param $diff_content diff expression */ function pkwk_log_updates($page, $diff_content) { global $auth_user, $logging_updates, $logging_updates_log_dir; // : // 略 // : if (file_exists($log_dir) && defined('JSON_UNESCAPED_UNICODE')) { // : // 略 // : $ltsv = join($ar2, "\t") . "\n"; // ここ file_put_contents($ltsv_file, $ltsv, FILE_APPEND | LOCK_EX); } } ***修正案 [#r0476d59] /** * Write update_log on updating contents. * * @param $page page name * @param $diff_content diff expression */ function pkwk_log_updates($page, $diff_content) { global $auth_user, $logging_updates, $logging_updates_log_dir; // : // 略 // : if (file_exists($log_dir) && defined('JSON_UNESCAPED_UNICODE')) { // : // 略 // : $ltsv = join("\t", $ar2) . "\n"; file_put_contents($ltsv_file, $ltsv, FILE_APPEND | LOCK_EX); } } -------- - ありがとうございます。対処します -- [[umorigu]] &new{2022-12-27 (火) 23:07:42}; - ありがとうございます。よろしくお願いします -- [[ぬぺぺ]] &new{2022-12-27 (火) 23:39:18}; - [[official:質問箱/5487]] -- [[umorigu]] &new{2023-01-08 (日) 19:01:16}; #comment