Provide the new 'listname' attributes in database drivers, too
This commit is contained in:
parent
8039a2f6e5
commit
6f5d53a5b0
2 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,7 @@ class database_driver extends calendar_driver
|
|||
$arr['showalarms'] = intval($arr['showalarms']);
|
||||
$arr['active'] = !in_array($arr['id'], $hidden);
|
||||
$arr['name'] = html::quote($arr['name']);
|
||||
$arr['listname'] = html::quote($arr['name']);
|
||||
$this->calendars[$arr['calendar_id']] = $arr;
|
||||
$calendar_ids[] = $this->rc->db->quote($arr['calendar_id']);
|
||||
}
|
||||
|
|
|
@ -73,6 +73,7 @@ class tasklist_database_driver extends tasklist_driver
|
|||
$arr['showalarms'] = intval($arr['showalarms']);
|
||||
$arr['active'] = !in_array($arr['id'], $hidden);
|
||||
$arr['name'] = html::quote($arr['name']);
|
||||
$arr['listname'] = html::quote($arr['name']);
|
||||
$arr['editable'] = true;
|
||||
$this->lists[$arr['id']] = $arr;
|
||||
$list_ids[] = $this->rc->db->quote($arr['id']);
|
||||
|
|
Loading…
Add table
Reference in a new issue