Convert '0' values to null
This commit is contained in:
parent
7537501024
commit
be1b32d9b2
1 changed files with 3 additions and 0 deletions
|
@ -644,6 +644,9 @@ class tasklist extends rcube_plugin
|
|||
if (in_array($rec['id'], $this->collapsed_tasks))
|
||||
$rec['collapsed'] = true;
|
||||
|
||||
if (empty($rec['parent_id']))
|
||||
$rec['parent_id'] = null;
|
||||
|
||||
$this->task_titles[$rec['id']] = $rec['title'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue