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 6598c487c5
commit c1e1d92181

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