diff options
author | Vjacheslav Trushkin <arty@phpbb.com> | 2012-03-15 21:11:34 +0200 |
---|---|---|
committer | Vjacheslav Trushkin <arty@phpbb.com> | 2012-03-15 21:11:34 +0200 |
commit | fd96f97dc3c659e1d2e9b58420d652ad79387fbf (patch) | |
tree | 96bc528157271485983689b59967c5692f2fc21d /phpBB/includes/bbcode.php | |
parent | 1ce4d4c4fc482f33fd061c4f718b4f8c3656dbdb (diff) | |
download | forums-fd96f97dc3c659e1d2e9b58420d652ad79387fbf.tar forums-fd96f97dc3c659e1d2e9b58420d652ad79387fbf.tar.gz forums-fd96f97dc3c659e1d2e9b58420d652ad79387fbf.tar.bz2 forums-fd96f97dc3c659e1d2e9b58420d652ad79387fbf.tar.xz forums-fd96f97dc3c659e1d2e9b58420d652ad79387fbf.zip |
[feature/merging-style-components] Updating style initialization
Changing template initialization to style initialization.
PHPBB3-10632
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r-- | phpBB/includes/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index 3831cb03ad..5e3bfed5ec 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -133,8 +133,8 @@ class bbcode $this->template_bitfield = new bitfield($user->theme['bbcode_bitfield']); $style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $phpbb_extension_manager); + $style->set_style(); $template = $style->template; - $template->set_template(); $template->set_filenames(array('bbcode.html' => 'bbcode.html')); $this->template_filename = $style->locator->get_source_file_for_handle('bbcode.html'); } |