diff options
author | Cesar G <prototech91@gmail.com> | 2014-04-22 12:40:28 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-04-22 15:21:03 -0700 |
commit | c2ac76e8b11c0cfb5917febe90f56216d74bc10a (patch) | |
tree | d39d50000c45d5accc47ea4db4c1774a44fe2c67 /phpBB/includes/functions_content.php | |
parent | e287eea2c6c1530c843ca57d75c35f0e5062507d (diff) | |
download | forums-c2ac76e8b11c0cfb5917febe90f56216d74bc10a.tar forums-c2ac76e8b11c0cfb5917febe90f56216d74bc10a.tar.gz forums-c2ac76e8b11c0cfb5917febe90f56216d74bc10a.tar.bz2 forums-c2ac76e8b11c0cfb5917febe90f56216d74bc10a.tar.xz forums-c2ac76e8b11c0cfb5917febe90f56216d74bc10a.zip |
[ticket/11508] Use $phpbb_path_helper.
PHPBB3-11508
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r-- | phpBB/includes/functions_content.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index ff75a5b05d..b8314c076c 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -110,7 +110,7 @@ function gen_sort_selects(&$limit_days, &$sort_by_text, &$sort_days, &$sort_key, */ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list = false, $force_display = false) { - global $config, $auth, $template, $user, $db, $phpbb_container; + global $config, $auth, $template, $user, $db, $phpbb_path_helper; // We only return if the jumpbox is not forced to be displayed (in case it is needed for functionality) if (!$config['load_jumpbox'] && $force_display === false) @@ -196,8 +196,7 @@ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list $db->sql_freeresult($result); unset($padding_store); - $path_helper = $phpbb_container->get('path_helper'); - $url_parts = $path_helper->get_url_parts($action); + $url_parts = $phpbb_path_helper->get_url_parts($action); $template->assign_vars(array( 'S_DISPLAY_JUMPBOX' => $display_jumpbox, |