mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-03 07:13:09 -04:00
14 lines
248 B
PHP
14 lines
248 B
PHP
<?php
|
|
|
|
// Quick SQL injection check
|
|
$postId = (int)$_GET['post'];
|
|
if (!$postId) {
|
|
error(0);
|
|
}
|
|
|
|
[$body, $forumId] = (new Gazelle\Forum)->postBody($postId);
|
|
if (!Forums::check_forumperm($forumId)) {
|
|
error(0);
|
|
}
|
|
echo trim(display_str($body));
|