mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
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:
parent
46af8af60a
commit
66e7db25bf
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
- Changed database encoding to `utf8mb4_unicode_ci` [\#1684](https://github.com/torrentpier/torrentpier/pull/1684) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Demo mode: Save user language in cookies [\#1584](https://github.com/torrentpier/torrentpier/pull/1584) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- BBCode: Fixed relative links working [\#1613](https://github.com/torrentpier/torrentpier/pull/1613) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Fixed empty `topic_id` in log actions after topic rename [\#1687](https://github.com/torrentpier/torrentpier/pull/1687) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Fixed broken torrent stats displaying [\#1672](https://github.com/torrentpier/torrentpier/pull/1672), [\#1673](https://github.com/torrentpier/torrentpier/pull/1673) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Fixed template caching issue [\#1622](https://github.com/torrentpier/torrentpier/pull/1622) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Fixed `md5()` deprecated in PHP 8.4 [\#1561](https://github.com/torrentpier/torrentpier/pull/1561) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
|
|
@ -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
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue