mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update modcp.php
This commit is contained in:
parent
8ee06f87ed
commit
f4cafb1dde
@ -601,6 +601,7 @@ switch ($mode)
|
|||||||
WHERE p.topic_id = $topic_id
|
WHERE p.topic_id = $topic_id
|
||||||
AND p.poster_id = u.user_id
|
AND p.poster_id = u.user_id
|
||||||
AND p.post_id = pt.post_id
|
AND p.post_id = pt.post_id
|
||||||
|
AND p.poster_id != ". BOT_UID ."
|
||||||
ORDER BY p.post_time ASC";
|
ORDER BY p.post_time ASC";
|
||||||
if ( !($result = DB()->sql_query($sql)) )
|
if ( !($result = DB()->sql_query($sql)) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user