1
This commit is contained in:
parent
b7da6b18a9
commit
a72a97fd21
@ -133,6 +133,7 @@ class FesActivityController{
|
|||||||
protected function getfesActInfo($account_id)
|
protected function getfesActInfo($account_id)
|
||||||
{
|
{
|
||||||
$user_db = $this->readFesActDB($account_id);
|
$user_db = $this->readFesActDB($account_id);
|
||||||
|
$act_id = $user_db['act_id'];
|
||||||
$act = metatable\getNowActivity();
|
$act = metatable\getNowActivity();
|
||||||
$info_list = array();
|
$info_list = array();
|
||||||
if (!$act) {
|
if (!$act) {
|
||||||
@ -145,7 +146,7 @@ class FesActivityController{
|
|||||||
$this->saveFesActDB($account_id, $act_db);
|
$this->saveFesActDB($account_id, $act_db);
|
||||||
} else {
|
} else {
|
||||||
//活动开启
|
//活动开启
|
||||||
if (empty($user_db) || empty($user_db['info_list'])) {
|
if (empty($user_db) || empty($user_db['info_list']) || $act_id != $act['id']) {
|
||||||
$info_list = $this->getActItem($act['id']);
|
$info_list = $this->getActItem($act['id']);
|
||||||
$act_db = array(
|
$act_db = array(
|
||||||
'isopen' => 1,
|
'isopen' => 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user