aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2013-07-26 18:27:47 -0700
committerMatt Friedman <maf675@gmail.com>2013-07-26 18:27:47 -0700
commit37ceb57d12b936d810da645b6eb49aa2b1d12a5e (patch)
tree9d3b3ef9fe227388df5b761866352d90c91230d2
parent26dac64d45944dce14b33a9c82e531f01f9a623f (diff)
downloadforums-37ceb57d12b936d810da645b6eb49aa2b1d12a5e.tar
forums-37ceb57d12b936d810da645b6eb49aa2b1d12a5e.tar.gz
forums-37ceb57d12b936d810da645b6eb49aa2b1d12a5e.tar.bz2
forums-37ceb57d12b936d810da645b6eb49aa2b1d12a5e.tar.xz
forums-37ceb57d12b936d810da645b6eb49aa2b1d12a5e.zip
[ticket/11747] Add $phpbb_dispatcher to global
PHPBB3-11747
-rw-r--r--phpBB/includes/ucp/ucp_prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php
index f24578da84..73b01deb22 100644
--- a/phpBB/includes/ucp/ucp_prefs.php
+++ b/phpBB/includes/ucp/ucp_prefs.php
@@ -26,7 +26,7 @@ class ucp_prefs
function main($id, $mode)
{
- global $config, $db, $user, $auth, $template, $phpbb_root_path, $phpEx;
+ global $config, $db, $user, $auth, $template, $phpbb_dispatcher, $phpbb_root_path, $phpEx;
$submit = (isset($_POST['submit'])) ? true : false;
$error = $data = array();