mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update posts.php
This commit is contained in:
parent
cafca1e854
commit
fbcce8618b
@ -18,7 +18,7 @@ if (isset($this->request['post_id']))
|
||||
AND f.forum_id = t.forum_id
|
||||
AND p.post_id = pt.post_id
|
||||
LIMIT 1");
|
||||
if(!$post) $this->ajax_die('not post');
|
||||
if(!$post) $this->ajax_die('not post');
|
||||
|
||||
$is_auth = auth(AUTH_ALL, $post['forum_id'], $userdata, $post);
|
||||
if ($post['topic_status'] == TOPIC_LOCKED && !$is_auth['auth_mod'])
|
||||
|
Loading…
Reference in New Issue
Block a user