diff --git a/module/file/model.php b/module/file/model.php index c35c590d0b..c96813bfdf 100644 --- a/module/file/model.php +++ b/module/file/model.php @@ -613,6 +613,7 @@ class fileModel extends model */ private function removeInterference($matchs) { + if(strlen($matchs[1]) % 2 == 1) return $matchs[1] . $matchs[2]; return str_replace('""', '"', $matchs[1]) . str_replace(',', ',', $matchs[2]); } diff --git a/module/todo/model.php b/module/todo/model.php index 44b18c1534..4d56610740 100644 --- a/module/todo/model.php +++ b/module/todo/model.php @@ -498,7 +498,7 @@ class todoModel extends model { $newTodo->date = $newDate; $this->dao->insert(TABLE_TODO)->data($newTodo)->exec(); - $this->action->create('todo', $this->dao->lastInsertID(), 'opened'); + $this->action->create('todo', $this->dao->lastInsertID(), 'opened', '', '', $newTodo->account); $lastCycleList[$todo->id] = $newTodo; } }