diff --git a/themes/tajian/controller/SiteController.php b/themes/tajian/controller/SiteController.php index 5ea7738..2f29991 100644 --- a/themes/tajian/controller/SiteController.php +++ b/themes/tajian/controller/SiteController.php @@ -178,7 +178,7 @@ Class SiteController extends Controller { $loginedUser = Common::getUserFromSession(); if (empty($loginedUser['username'])) { return $this->redirect('/site/login/'); - }else if (!empty(FSC::$app['config']['multipleUserUriParse']) && empty(FSC::$app['user_id']) && !empty($loginedUser['username'])) { + }else if (!empty(FSC::$app['config']['multipleUserUriParse']) && FSC::$app['user_id'] != $loginedUser['username']) { $shareUrl = "/{$loginedUser['username']}/site/new/"; return $this->redirect($shareUrl); }