diff --git a/upload/index.php b/upload/index.php index d09d198f8..ce02d3415 100644 --- a/upload/index.php +++ b/upload/index.php @@ -280,7 +280,7 @@ foreach ($cat_forums as $cid => $c) $template->assign_vars(array( 'SHOW_FORUMS' => $forums_count, - 'SHOW_MAP' => isset($_GET['map']) ? true : false, + 'SHOW_MAP' => isset($_GET['map']), 'PAGE_TITLE' => ($viewcat) ? $cat_title_html[$viewcat] : $lang['HOME'], 'NO_FORUMS_MSG' => ($only_new) ? $lang['NO_NEW_POSTS'] : $lang['NO_FORUMS'], @@ -428,7 +428,6 @@ if (IS_AM) // Display page define('SHOW_ONLINE', $show_online_users); - if (isset($_GET['map'])) $template->assign_vars(array('PAGE_TITLE' => $lang['FORUM_MAP'])); print_page('index.tpl'); \ No newline at end of file