aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 485f5487cc..d5132d218e 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -49,6 +49,7 @@ function request_var($var_name, $default, $multibyte = false, $cookie = false)
if ($var_name instanceof phpbb_request_interface)
{
$request = $var_name;
+ return;
}
// no request class set, create a temporary one ourselves to keep backwards compatability