Skip to content

Commit

Permalink
поправить lastvisit для людей без правок за последний год
Browse files Browse the repository at this point in the history
  • Loading branch information
leotsarev committed Apr 2, 2024
1 parent a555b48 commit 75af9ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public_html/edit/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ function show_count_link($link, $text, $count)
{
if (array_key_exists('privs', $user_row))
{
$username = $user_row['username'];
$user_data[$username]['user_id'] = $user_row['user_id'];
$user_data[$username]['lastvisit'] = $user_row['lastvisit'];
$user_data[$user_row['username']]['privs'] = $user_row['privs'];
}
}
Expand Down

0 comments on commit 75af9ef

Please sign in to comment.