aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2013-07-11 20:46:18 -0400
committerDavid King <imkingdavid@gmail.com>2013-07-11 20:46:18 -0400
commit3a87a6b7007c015cf722b7a4e49f2880ba38f533 (patch)
treef6816fcc780fc498bd0a5c5be265d3d9355d9dad /phpBB
parent8b7aef6f938bf7c08d41908e78b6e71117adba38 (diff)
downloadforums-3a87a6b7007c015cf722b7a4e49f2880ba38f533.tar
forums-3a87a6b7007c015cf722b7a4e49f2880ba38f533.tar.gz
forums-3a87a6b7007c015cf722b7a4e49f2880ba38f533.tar.bz2
forums-3a87a6b7007c015cf722b7a4e49f2880ba38f533.tar.xz
forums-3a87a6b7007c015cf722b7a4e49f2880ba38f533.zip
[ticket/11215] use global
PHPBB3-11215
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 331eaf742e..420a13c200 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2413,7 +2413,7 @@ function append_sid($url, $params = false, $is_amp = true, $session_id = false)
{
global $_SID, $_EXTRA_URL, $phpbb_hook;
global $phpbb_dispatcher;
- global $request;
+ global $symfony_request;
if ($params === '' || (is_array($params) && empty($params)))
{
@@ -2421,7 +2421,7 @@ function append_sid($url, $params = false, $is_amp = true, $session_id = false)
$params = false;
}
- $corrected_root = phpbb_get_web_root_path(phpbb_create_symfony_request($request));
+ $corrected_root = phpbb_get_web_root_path($symfony_request);
if ($corrected_root)
{
$url = $corrected_root . substr($url, strlen($phpbb_root_path));