diff --git a/system/pages/forum.php b/system/pages/forum.php index e1e6e62e..c1802e1c 100644 --- a/system/pages/forum.php +++ b/system/pages/forum.php @@ -175,7 +175,7 @@ if(empty($action)) $errors = array(); if($action == 'show_board' || $action == 'show_thread') { - require(PAGES . 'forum/' . $action . '.php'); + require PAGES . 'forum/' . $action . '.php'; return; } @@ -194,7 +194,7 @@ if(!ctype_alnum(str_replace(array('-', '_'), '', $action))) { error('Error: Action contains illegal characters.'); } else if(file_exists(PAGES . 'forum/' . $action . '.php')) { - require(PAGES . 'forum/' . $action . '.php'); + require PAGES . 'forum/' . $action . '.php'; } else { error('This page does not exists.');