1
This commit is contained in:
parent
ef0c00b944
commit
a82d9fb3d1
@ -193,7 +193,10 @@ class OtherController extends BaseAuthedController {
|
||||
if (empty($taskStatus)) {
|
||||
return true;
|
||||
}
|
||||
if (myself()->_getNowTime() <= strtotime($taskMeta['obtain_end_time'])) {
|
||||
if (!$taskMeta) {
|
||||
return true;
|
||||
}
|
||||
if (myself()->_getNowTime() > strtotime($taskMeta['obtain_end_time'])) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user