summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-10-17 14:58:05 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-10-23 08:55:09 (GMT)
commitf59f9403f48a7bbe7a8673e4d4fd437ada7fc049 (patch)
treee3cb656f60cedf4793556900af73a78202aceb74
parentd49089c67a512128659cabe8c05d45e3f5580f7d (diff)
downloadroundcubemail-plugins-kolab-f59f9403f48a7bbe7a8673e4d4fd437ada7fc049.tar.gz
Provide the new 'listname' attributes in database drivers, too
-rw-r--r--plugins/calendar/drivers/database/database_driver.php1
-rw-r--r--plugins/tasklist/drivers/database/tasklist_database_driver.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/calendar/drivers/database/database_driver.php b/plugins/calendar/drivers/database/database_driver.php
index e20b9f0..8cd363c 100644
--- a/plugins/calendar/drivers/database/database_driver.php
+++ b/plugins/calendar/drivers/database/database_driver.php
@@ -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']);
}
diff --git a/plugins/tasklist/drivers/database/tasklist_database_driver.php b/plugins/tasklist/drivers/database/tasklist_database_driver.php
index 742d6da..8ad776a 100644
--- a/plugins/tasklist/drivers/database/tasklist_database_driver.php
+++ b/plugins/tasklist/drivers/database/tasklist_database_driver.php
@@ -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']);