Fixed empty topic_id in log actions after topic rename (#1687)

* Fixed empty topic_id in log actions after topic rename

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-12-01 15:17:40 +07:00 committed by GitHub
commit 66e7db25bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -78,6 +78,7 @@ switch ($mode) {
$log_action->mod('mod_topic_renamed', [
'forum_id' => $t_data['forum_id'],
'topic_id' => $topic_id,
'topic_id_new' => $topic_id,
'topic_title' => $old_title,
'topic_title_new' => $new_title
]);