diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-22 13:32:33 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-22 13:32:33 +0000 |
| commit | 22129be21f3d08a27681e0ac6ba8ad401ed8ba96 (patch) | |
| tree | 95b2aba768ebb29a024f96a804d9e4291b286d12 /phpBB/viewtopic.php | |
| parent | 44ea780de626a450e17154e5154f3becbd512476 (diff) | |
| download | forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar.gz forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar.bz2 forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.tar.xz forums-22129be21f3d08a27681e0ac6ba8ad401ed8ba96.zip | |
- now username changes should work as desired
- removed some extract() calls
git-svn-id: file:///svn/phpbb/trunk@6517 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index ba090f10a2..4275938548 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -16,6 +16,7 @@ $phpbb_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); +include($phpbb_root_path . 'includes/bbcode.' . $phpEx); // Start session management $user->session_begin(); @@ -726,7 +727,6 @@ if (!empty($topic_data['poll_start'])) if ($poll_info[0]['bbcode_bitfield']) { - include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); $poll_bbcode = new bbcode(); } else @@ -1227,7 +1227,6 @@ if (sizeof($attach_list)) // Instantiate BBCode if need be if ($bbcode_bitfield !== '') { - include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); $bbcode = new bbcode(base64_encode($bbcode_bitfield)); } |
