diff --git a/module/todo/model.php b/module/todo/model.php index 94a56ec73d..94b19c55a3 100644 --- a/module/todo/model.php +++ b/module/todo/model.php @@ -72,11 +72,11 @@ class todoModel extends model $todo->account = $this->app->user->account; if($this->post->date == false) { - $todo->date = '2030-01-01'; + $todo->date = '2030-01-01'; } else { - $todo->date = $this->post->date; + $todo->date = $this->post->date; } $todo->type = $todos->types[$i]; $todo->pri = $todos->pris[$i];