* fix bug #1701.
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user