* Reorder code of todoModel::createByCycle().
This commit is contained in:
@@ -359,9 +359,10 @@ class todoModel extends model
|
||||
|
||||
foreach($todoList as $todoID => $todo)
|
||||
{
|
||||
$todo->config = json_decode($todo->config);
|
||||
if(!isset($validUsers[$todo->account])) continue;
|
||||
|
||||
$todo->config = json_decode($todo->config);
|
||||
|
||||
$begin = $todo->config->begin;
|
||||
$end = $todo->config->end;
|
||||
$beforeDays = (int)$todo->config->beforeDays;
|
||||
|
||||
Reference in New Issue
Block a user