Skip to content

Commit

Permalink
Update modcp.php
Browse files Browse the repository at this point in the history
  • Loading branch information
belomaxorka committed Oct 28, 2023
1 parent 8ee06f8 commit f4cafb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modcp.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ function validate_mode_condition($request_index, $mod_action='') {
WHERE p.topic_id = $topic_id
AND p.poster_id = u.user_id
AND p.post_id = pt.post_id
AND p.poster_id != ". BOT_UID ."
ORDER BY p.post_time ASC";
if ( !($result = DB()->sql_query($sql)) )
{
Expand Down

0 comments on commit f4cafb1

Please sign in to comment.