diff --git a/html/user/forum_reply.php b/html/user/forum_reply.php index bde6e4a23f..73a74be133 100644 --- a/html/user/forum_reply.php +++ b/html/user/forum_reply.php @@ -60,12 +60,11 @@ if (!empty($_POST['content'])) { } -if (get_int('post')) { +if (get_int('post', true)) { $post = getPost(get_int('post')); } - // TODO: Write a function for this. if ($helpdesk) { page_head('Questions and answers');