Fix SQL error when inserting task with no status set.

The database schema doesn't allow null values but expects an empty string.
This commit is contained in:
Thomas Bruederli 2016-01-27 21:45:11 +01:00
parent e0fb3be3da
commit 6a8b8b19a0

View file

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