Commit abd64ba7 authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4361 (Invalid URLs for forumview module may produce error on newer PHP versions)

parent 0d7a64eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ class Module_forumview

        inform_non_canonical_parameter('#^kfs_.*$#');

        if ($type == 'browse') {
        if ($type != 'pt') {
            $id = get_param_integer('id', db_get_first_id());

            $_forum_info = $GLOBALS['FORUM_DB']->query_select('f_forums', array('*'), array('id' => $id), '', 1, null, false);