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:
parent
e0fb3be3da
commit
6a8b8b19a0
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ class tasklist_database_driver extends tasklist_driver
|
||||||
join(',', (array)$prop['tags']),
|
join(',', (array)$prop['tags']),
|
||||||
$prop['flagged'] ? 1 : 0,
|
$prop['flagged'] ? 1 : 0,
|
||||||
intval($prop['complete']),
|
intval($prop['complete']),
|
||||||
$prop['status'],
|
strval($prop['status']),
|
||||||
$prop['alarms'],
|
$prop['alarms'],
|
||||||
$prop['recurrence'],
|
$prop['recurrence'],
|
||||||
$notify_at
|
$notify_at
|
||||||
|
|
Loading…
Add table
Reference in a new issue