From 22129be21f3d08a27681e0ac6ba8ad401ed8ba96 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 22 Oct 2006 13:32:33 +0000 Subject: - now username changes should work as desired - removed some extract() calls git-svn-id: file:///svn/phpbb/trunk@6517 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index b0d76fff4c..671f20d398 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2249,7 +2249,7 @@ function generate_text_for_display($text, $uid, $bitfield, $flags) if (!class_exists('bbcode')) { global $phpbb_root_path, $phpEx; - include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); + include($phpbb_root_path . 'includes/bbcode.' . $phpEx); } if (empty($bbcode)) @@ -2287,7 +2287,7 @@ function generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bb if (!class_exists('parse_message')) { - include_once($phpbb_root_path . 'includes/message_parser.' . $phpEx); + include($phpbb_root_path . 'includes/message_parser.' . $phpEx); } $message_parser = new parse_message($text); @@ -2419,7 +2419,7 @@ function parse_inline_attachments(&$text, &$attachments, &$update_count, $forum_ if (!function_exists('display_attachments')) { global $phpbb_root_path, $phpEx; - include_once("{$phpbb_root_path}includes/functions_display.$phpEx"); + include("{$phpbb_root_path}includes/functions_display.$phpEx"); } $attachments = display_attachments($forum_id, NULL, $attachments, $update_count, false, true); -- cgit v1.2.1