This commit is contained in:
wangyidong
2019-03-28 16:56:17 +08:00
parent 63e0202313
commit 910dfe2b94
2 changed files with 21 additions and 25 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ class todoModel extends model
{
$todo = new stdclass();
$todo->account = $this->app->user->account;
if($this->post->date == false)
if($this->post->switchDate == 'on' or $this->post->date == false)
{
$todo->date = '2030-01-01';
}