mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
chore: Some minor improvements (#2076)
This commit is contained in:
parent
abb2b242b7
commit
5ff296f83b
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if (isset($this->request['post_id'])) {
|
||||||
AND p.post_id = pt.post_id
|
AND p.post_id = pt.post_id
|
||||||
LIMIT 1");
|
LIMIT 1");
|
||||||
if (!$post) {
|
if (!$post) {
|
||||||
$this->ajax_die('not post');
|
$this->ajax_die($lang['TOPIC_POST_NOT_EXIST']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$is_auth = auth(AUTH_ALL, $post['forum_id'], $userdata, $post);
|
$is_auth = auth(AUTH_ALL, $post['forum_id'], $userdata, $post);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue