From 857aa110c8378acf24ea62dfeaad4758b45a05a1 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 29 May 2018 21:10:30 +0200 Subject: [PATCH] * remove unnecessary parentheses in include/require (forgot this part) --- system/pages/forum.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.');