From 506597ef09091188cab6fa40bcad6fba27f02ce7 Mon Sep 17 00:00:00 2001 From: Exile Date: Tue, 12 Aug 2014 16:27:55 +0400 Subject: [PATCH] Guest map fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Фиксим вывод карты форума для гостей. --- upload/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/index.php b/upload/index.php index ce02d3415..28a5b4f50 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']), + 'SHOW_MAP' => (isset($_GET['map']) && !IS_GUEST), 'PAGE_TITLE' => ($viewcat) ? $cat_title_html[$viewcat] : $lang['HOME'], 'NO_FORUMS_MSG' => ($only_new) ? $lang['NO_NEW_POSTS'] : $lang['NO_FORUMS'],