diff options
Diffstat (limited to 'apps/calendar/lib/share/calendar.php')
-rw-r--r-- | apps/calendar/lib/share/calendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/share/calendar.php b/apps/calendar/lib/share/calendar.php index 7f498292419..bbc43fcca0f 100644 --- a/apps/calendar/lib/share/calendar.php +++ b/apps/calendar/lib/share/calendar.php @@ -99,7 +99,7 @@ class OC_Share_Backend_Calendar implements OCP\Share_Backend_Collection { } public function getChildren($itemSource) { - $query = OCP\DB::prepare('SELECT id FROM *PREFIX*calendar_objects WHERE calendarid = ?'); + $query = OCP\DB::prepare('SELECT `id` FROM `*PREFIX*calendar_objects` WHERE `calendarid` = ?'); $result = $query->execute(array($itemSource)); $sources = array(); while ($object = $result->fetchRow()) { |