Fixed seed bonus accrual (#1518)

* Fixed seed bonus accrual

* Update CHANGELOG.md

* Updated
This commit is contained in:
Roman Kelesidis 2024-06-17 20:50:08 +07:00 committed by GitHub
commit 40b341cb62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 28 additions and 13 deletions

View file

@ -555,6 +555,7 @@ switch ($mode) {
$post_id = $postrow[$i]['post_id'];
$poster_id = $postrow[$i]['poster_id'];
$poster = $postrow[$i]['username'];
$poster_rank = $postrow[$i]['user_rank'];
$post_date = bb_date($postrow[$i]['post_time'], $bb_cfg['post_date_format']);
@ -567,10 +568,9 @@ switch ($mode) {
$message = bbcode2html($message);
$row_class = !($i % 2) ? 'row1' : 'row2';
$template->assign_block_vars('postrow', [
'ROW_CLASS' => $row_class,
'POSTER_NAME' => profile_url(['username' => $poster, 'user_id' => $poster_id, 'user_rank' => $postrow[$i]['user_rank']]),
'POSTER_NAME' => profile_url(['username' => $poster, 'user_id' => $poster_id, 'user_rank' => $poster_rank]),
'POST_DATE' => $post_date,
'MESSAGE' => $message,
'CHECKBOX' => defined('BEGIN_CHECKBOX'),