Skip to content

Commit

Permalink
Revert "Too many params parsed to lang key"
Browse files Browse the repository at this point in the history
This reverts commit 2c65df4.
  • Loading branch information
Skouat committed Dec 4, 2024
1 parent 0376653 commit ba643da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function move_topic($event)
$subject = $topic_data['topic_title'];
generate_text_for_storage($subject, $uid, $bitfield, $options, false, false, false);
$subject = str_replace(array('<t>', '</t>'), '', $subject);
$post_text = $this->language->lang('TRASHBIN_TEXT', $forum_name);
$post_text = $this->language->lang('TRASHBIN_TEXT', $this->user->data['username'], $forum_name);
generate_text_for_storage($post_text, $uid, $bitfield, $options, true, true, true);
$data = array(
'forum_id' => $this->fid,
Expand Down

0 comments on commit ba643da

Please sign in to comment.