Tasks: Fix saving completeness value for a new task when using database driver

This commit is contained in:
Aleksander Machniak 2019-10-01 21:27:12 +02:00
parent 6b89f751a7
commit b28e89675e

View file

@ -597,7 +597,7 @@ class tasklist_database_driver extends tasklist_driver
strval($prop['description']),
join(',', (array)$prop['tags']),
$prop['flagged'] ? 1 : 0,
intval($prop['complete']),
$prop['complete'],
strval($prop['status']),
$prop['alarms'],
$prop['recurrence'],