修复 个人资料卡管理员链接错误

This commit is contained in:
康盛Discuz! 2017-01-06 10:46:21 +08:00
parent 03ee8fedb1
commit ce6e273c74
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: home_space.php 33660 2013-07-29 07:51:05Z nemohou $
* $Id: home_space.php 36337 2017-01-05 06:34:27Z nemohou $
*/
if(!defined('IN_DISCUZ')) {
@ -93,6 +93,8 @@ if(empty($space)) {
$_GET['do'] = $do = 'profile';
}
$encodeusername = rawurlencode($space['username']);
if($do != 'profile' && $do != 'index' && !ckprivacy($do, 'view')) {
$_G['privacy'] = 1;
require_once libfile('space/profile', 'include');