|
@@ -37,8 +37,7 @@ class specialControl extends mobileHomeControl
|
|
|
QueueClient::push('onClickSpecial',['special_id' => $special_id]);
|
|
|
if($spitem->from_user())
|
|
|
{
|
|
|
- if(session_helper::need_wechat_author())
|
|
|
- {
|
|
|
+ if(session_helper::need_wechat_author()) {
|
|
|
$author = new thrid_author\wxauthor();
|
|
|
$url = author_url::ugc_url($special_id);
|
|
|
$url = $author->enter($url);
|
|
@@ -195,7 +194,8 @@ class tpl_ugc
|
|
|
$this->special = null;
|
|
|
}
|
|
|
|
|
|
- if(session_helper::logined()) {
|
|
|
+ if(session_helper::logined())
|
|
|
+ {
|
|
|
$memberid = session_helper::memberid();
|
|
|
if($this->special->memberid() == $memberid) {
|
|
|
$this->mAuthorRelation = 2;
|