Commit 67df086b authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-5004 (is_on_strong_forum fails on PHP 8.1)

parent 392dc7d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -792,7 +792,7 @@ function actualise_post_comment($allow_comments, $content_type, $content_id, $co
    }

    if (is_null($post)) {
        $post = post_param_string('post', null);
        $post = post_param_string('post', '');
        if (($post == do_lang('POST_WARNING')) || ($post == do_lang('THREADED_REPLY_NOTICE', do_lang('POST_WARNING')))) {
            $post = '';
        }