From 173adfa3f3a67994d0d0fec2ffa6cab8c1e82c73 Mon Sep 17 00:00:00 2001 From: Discuz! Date: Sun, 22 Jan 2017 11:18:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20XSS=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/include/space/space_trade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upload/source/include/space/space_trade.php b/upload/source/include/space/space_trade.php index 50ef199..ea30bae 100644 --- a/upload/source/include/space/space_trade.php +++ b/upload/source/include/space/space_trade.php @@ -241,6 +241,9 @@ if($count) { if($_G['uid']) { $_GET['view'] = !$_GET['view'] ? 'we' : $_GET['view']; $navtitle = lang('core', 'title_'.$_GET['view'].'_trade'); + if($navtitle == 'title_'.$_GET['view'].'_trade') { + $navtitle = lang('core', 'title_trade'); + } } else { $navtitle = lang('core', 'title_trade'); }