* finish task #6676.
This commit is contained in:
@@ -467,8 +467,11 @@ class todoModel extends model
|
||||
$today = helper::today();
|
||||
$now = helper::now();
|
||||
$lastCycleList = $this->dao->select('*')->from(TABLE_TODO)->where('type')->eq('cycle')->andWhere('idvalue')->in(array_keys($todoList))->orderBy('date_asc')->fetchAll('idvalue');
|
||||
$activedUsers = $this->dao->select('account')->from(TABLE_USER)->where('deleted')->eq(0)->fetchPairs('account', 'account');
|
||||
foreach($todoList as $todoID => $todo)
|
||||
{
|
||||
if(!isset($activedUsers[$todo->account])) continue;
|
||||
|
||||
$todo->config = json_decode($todo->config);
|
||||
$begin = $todo->config->begin;
|
||||
$end = $todo->config->end;
|
||||
|
||||
Reference in New Issue
Block a user