diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-08-17 15:45:07 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-08-17 15:45:07 +0000 |
commit | 2c02367dc05b048fe52329e5fd400b7c51ae1b1b (patch) | |
tree | d59767c8a421470de5899d10802dae392e952c51 /phpBB | |
parent | f7009291e20969421f90ab81eed1347a4d977501 (diff) | |
download | forums-2c02367dc05b048fe52329e5fd400b7c51ae1b1b.tar forums-2c02367dc05b048fe52329e5fd400b7c51ae1b1b.tar.gz forums-2c02367dc05b048fe52329e5fd400b7c51ae1b1b.tar.bz2 forums-2c02367dc05b048fe52329e5fd400b7c51ae1b1b.tar.xz forums-2c02367dc05b048fe52329e5fd400b7c51ae1b1b.zip |
no need to call generate_board_url() twice - r10008
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10009 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 00af5146cf..172b6a7467 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1796,7 +1796,7 @@ function get_unread_topics_list($user_id = false, $sql_extra = '') } else { - $unread_topics_list[$topic_id] = $user_lastmark; + $unread_topics_list[$topic_id] = $user_lastmark; } } @@ -4091,7 +4091,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 // Determine board url - we may need it later $board_url = generate_board_url() . '/'; - $web_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? generate_board_url() . '/' : $phpbb_root_path; + $web_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? $board_url . '/' : $phpbb_root_path; // The following assigns all _common_ variables that may be used at any point in a template. $template->assign_vars(array( |