User IP page ban doesn't appear in the public logs #27

Closed
opened 2021-09-29 13:51:37 +00:00 by leftypol · 3 comments
Owner

Bans which were made while in the user IP page (when clicking on a user's IP) aren't in logs.

Bans which were made while in the user IP page (when clicking on a user's IP) aren't in logs.
leftypol added the
bug
label 2021-09-29 13:51:37 +00:00
Collaborator

Could be caused by the lack of modlog() in mod_ban() in pages.php`.

It should be invoked by Bans::new_ban().

~~Could be caused by the lack of `modlog()` in `mod_ban()` in pages.php`.~~ It should be invoked by `Bans::new_ban()`.
Collaborator

Bans::new_ban() is invoked without a mod_id argument in pages.php:961.

`Bans::new_ban()` is invoked without a `mod_id` argument in `pages.php:961`.
Collaborator

Same in pages.php:1807

Same in `pages.php:1807`
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: leftypol/leftypol#27
No description provided.